Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Make sure install Clang headers when building clang-cc | Douglas Gregor | 2009-06-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 74163 | |||||
* | Add missing dependencies to the CMake build system | Douglas Gregor | 2009-06-25 | 1 | -1/+4 | |
| | | | | llvm-svn: 74162 | |||||
* | Move all logic for retrieving ElementRegion binding into a separate method. | Zhongxing Xu | 2009-06-25 | 1 | -10/+54 | |
| | | | | | | Revert to setting default value approach for handling struct initialization. llvm-svn: 74160 | |||||
* | Remove uses of std::ostream from libAnalysis. | Ted Kremenek | 2009-06-24 | 10 | -72/+45 | |
| | | | | llvm-svn: 74136 | |||||
* | Remove unneeded #includes. | Ted Kremenek | 2009-06-24 | 1 | -3/+0 | |
| | | | | llvm-svn: 74131 | |||||
* | Remove GRStateManager::GetSValAsScalarOrLoc()/GetSVal(). | Ted Kremenek | 2009-06-24 | 2 | -2/+17 | |
| | | | | llvm-svn: 74128 | |||||
* | Backed out my last patch which caused a clang-test breakage. Will | Fariborz Jahanian | 2009-06-24 | 1 | -1/+1 | |
| | | | | | | look at it later. llvm-svn: 74126 | |||||
* | C++ decltype support (N2343) | Anders Carlsson | 2009-06-24 | 2 | -7/+32 | |
| | | | | llvm-svn: 74118 | |||||
* | Type::getDesugaredType needs to handle decltype types. | Anders Carlsson | 2009-06-24 | 1 | -0/+2 | |
| | | | | llvm-svn: 74115 | |||||
* | Added a missing else part to my previous patche(s). | Fariborz Jahanian | 2009-06-24 | 1 | -2/+1 | |
| | | | | llvm-svn: 74108 | |||||
* | Add a DecltypeType type. | Anders Carlsson | 2009-06-24 | 6 | -1/+56 | |
| | | | | llvm-svn: 74099 | |||||
* | Parse the C++0x decltype specifier. | Anders Carlsson | 2009-06-24 | 4 | -1/+74 | |
| | | | | llvm-svn: 74086 | |||||
* | Update for LLVM API changes. | Owen Anderson | 2009-06-24 | 3 | -3/+6 | |
| | | | | llvm-svn: 74085 | |||||
* | fix the type of wchar_t for windows, PR4417 | Chris Lattner | 2009-06-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 74083 | |||||
* | Fix a clang crash caused by incorrect user code. | Fariborz Jahanian | 2009-06-24 | 1 | -1/+3 | |
| | | | | llvm-svn: 74080 | |||||
* | Implement matching of function templates, so that one can declare overloaded ↵ | Douglas Gregor | 2009-06-24 | 2 | -9/+36 | |
| | | | | | | function templates. C++ [temp.over.link] paragraphs 4-8. llvm-svn: 74079 | |||||
* | use a concrete type instead of a trait type to make code more readable. | Zhongxing Xu | 2009-06-24 | 1 | -2/+1 | |
| | | | | llvm-svn: 74047 | |||||
* | RegionStore: revert to the default value approach for array initialization. | Zhongxing Xu | 2009-06-24 | 1 | -8/+5 | |
| | | | | llvm-svn: 74043 | |||||
* | Make sure that the template parameter lists get from the parser down to ↵ | Douglas Gregor | 2009-06-24 | 5 | -3/+37 | |
| | | | | | | ActOnFunctionDeclarator for function template definitions llvm-svn: 74040 | |||||
* | Support for [class.local]p4. | Anders Carlsson | 2009-06-24 | 2 | -1/+9 | |
| | | | | llvm-svn: 74030 | |||||
* | When declaring a function template, create a FunctionTemplateDecl node | Douglas Gregor | 2009-06-24 | 2 | -3/+24 | |
| | | | | | | and associate it with the FunctionDecl. llvm-svn: 74028 | |||||
* | [class.local] p1 and p3. Also, add back the xcodeproj file. | Anders Carlsson | 2009-06-24 | 3 | -15/+36 | |
| | | | | llvm-svn: 74027 | |||||
* | Some changes to accomodate Doug's comment for | Fariborz Jahanian | 2009-06-23 | 1 | -12/+7 | |
| | | | | | | implicit copy constructor definition determination. llvm-svn: 74025 | |||||
* | Start propagating template parameter lists to the right places to | Douglas Gregor | 2009-06-23 | 5 | -7/+46 | |
| | | | | | | | handle function templates. There's no actual code for function templates yet, but at least we complain about typedef templates. llvm-svn: 74021 | |||||
* | Fix warning when building w/o asserts. | Daniel Dunbar | 2009-06-23 | 1 | -0/+1 | |
| | | | | llvm-svn: 74020 | |||||
* | Introduce SourceManager::ísBeforeInTranslationUnit() which can compare 2 ↵ | Argyrios Kyrtzidis | 2009-06-23 | 1 | -0/+100 | |
| | | | | | | source locations and determine which one comes before the other, relative to the translation unit. llvm-svn: 74014 | |||||
* | Update CMakeLists.txt | Argyrios Kyrtzidis | 2009-06-23 | 1 | -0/+1 | |
| | | | | llvm-svn: 74011 | |||||
* | Patch fixes an obscure bug when 'used' attribute is applied to | Fariborz Jahanian | 2009-06-23 | 4 | -36/+29 | |
| | | | | | | | | | variables in ObjC's Next runtime mode. Next runtime also implicitly applies 'used' attribute on some of its meta-data. This results in two 'llvm.used' arrays to be generated, and one of them is renamed to 'llvm.used1'. llvm-svn: 74008 | |||||
* | Eliminate DeclPtrTy() arguments to ActOnDeclarator that are just a very, ↵ | Douglas Gregor | 2009-06-23 | 2 | -2/+2 | |
| | | | | | | very weird way to pass "false". No functionality change llvm-svn: 74007 | |||||
* | Remove GRStateManager::getRegion/getSelfRegion(). | Ted Kremenek | 2009-06-23 | 3 | -4/+4 | |
| | | | | llvm-svn: 74006 | |||||
* | Remove GRStateManager::BindLoc() and GRStateManager::Unbind(). | Ted Kremenek | 2009-06-23 | 3 | -16/+15 | |
| | | | | llvm-svn: 73996 | |||||
* | Remove GRStateManager::BindDecl() and GRStateManager::BindDeclWithInit(). | Ted Kremenek | 2009-06-23 | 1 | -2/+2 | |
| | | | | llvm-svn: 73995 | |||||
* | Make sure that argument-dependent lookup looks into the global scope | Douglas Gregor | 2009-06-23 | 2 | -14/+47 | |
| | | | | | | when it should. llvm-svn: 73992 | |||||
* | - Add MemRegion::getMemorySpace() | Ted Kremenek | 2009-06-23 | 2 | -28/+23 | |
| | | | | | | | | | | - Change implementation of MemRegion::hasStackStorage()/hasHeapStorage() to use 'getMemorySpace()'. This avoids a double traversal up the region hierarchy and is simpler. - Add MemRegion::hasHeapOrStackStorage() as a slightly more efficient alternative to 'hasStackStorage() || hasHeapStorage()'. llvm-svn: 73977 | |||||
* | Fix some TableGen-related dependencies for the Clang CMake build | Douglas Gregor | 2009-06-23 | 2 | -2/+2 | |
| | | | | llvm-svn: 73976 | |||||
* | Move 'hasStackStorage()' and 'hasHeapStorage()' from MemRegionManager to ↵ | Ted Kremenek | 2009-06-23 | 4 | -11/+11 | |
| | | | | | | MemRegion. llvm-svn: 73973 | |||||
* | API cleanup: move more methods from GRStateManager to GRState. | Ted Kremenek | 2009-06-23 | 2 | -2/+2 | |
| | | | | llvm-svn: 73968 | |||||
* | Update CMake file. | Ted Kremenek | 2009-06-23 | 1 | -0/+1 | |
| | | | | llvm-svn: 73958 | |||||
* | Move all factory methods from SVal to ValueManager. API cleanup! | Zhongxing Xu | 2009-06-23 | 8 | -156/+82 | |
| | | | | llvm-svn: 73954 | |||||
* | Split ValueManager method definitions into its own source file. | Zhongxing Xu | 2009-06-23 | 2 | -119/+141 | |
| | | | | | | No functionality change. llvm-svn: 73952 | |||||
* | ValueManager::makeNonLoc -> ValueManager::makeIntVal | Zhongxing Xu | 2009-06-23 | 3 | -6/+5 | |
| | | | | | | Clean up code with ValueManager. llvm-svn: 73951 | |||||
* | If the init list is fewer than the struct fields, bind the rest fields to 0 | Zhongxing Xu | 2009-06-23 | 1 | -11/+16 | |
| | | | | | | explicitly. Make 0 value with the field type. llvm-svn: 73949 | |||||
* | Instead of setting the default value of the array region, bind the rest of the | Zhongxing Xu | 2009-06-23 | 2 | -17/+23 | |
| | | | | | | array elements to 0 explicitly. Create 0 values with the element type. llvm-svn: 73946 | |||||
* | Fix our check for "random whitespace between a \ and newline" to work | Chris Lattner | 2009-06-23 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | with dos style newlines. I have a trivial test for this: // RUN: clang-cc %s -verify #define test(x, y) \ x ## y but I don't know how to get svn to not change newlines and testrunner doesn't work with dos style newlines either, so "not worth it". :) rdar://6994000 llvm-svn: 73945 | |||||
* | MemRegionManager: Migrate logic for getCodeTextRegion() over to using | Zhongxing Xu | 2009-06-23 | 1 | -28/+4 | |
| | | | | | | trait-based MemRegion creation. llvm-svn: 73941 | |||||
* | Remove duplicated methods. | Zhongxing Xu | 2009-06-23 | 2 | -17/+21 | |
| | | | | llvm-svn: 73940 | |||||
* | add a fixme. | Zhongxing Xu | 2009-06-23 | 1 | -0/+2 | |
| | | | | llvm-svn: 73939 | |||||
* | fix PR4423. | Chris Lattner | 2009-06-23 | 1 | -1/+2 | |
| | | | | llvm-svn: 73938 | |||||
* | Check in a new template argument list builder that should work better for ↵ | Anders Carlsson | 2009-06-23 | 3 | -102/+124 | |
| | | | | | | variadic templates. llvm-svn: 73937 | |||||
* | switch Warnings.cpp to use the diagnostics machinery to print diagnostics, ↵ | Chris Lattner | 2009-06-23 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | not *fprintf*! Among other things, this makes the warning about unknown warning options mappable. For example: $ clang t.c -Werror -Wfoo error: unknown warning option '-Wfoo' [-Wunknown-warning-option] For another thing, they are properly color coded now too :) llvm-svn: 73936 |