summaryrefslogtreecommitdiffstats
path: root/clang/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Make sure install Clang headers when building clang-ccDouglas Gregor2009-06-251-1/+1
| | | | llvm-svn: 74163
* Add missing dependencies to the CMake build systemDouglas Gregor2009-06-251-1/+4
| | | | llvm-svn: 74162
* Move all logic for retrieving ElementRegion binding into a separate method.Zhongxing Xu2009-06-251-10/+54
| | | | | | Revert to setting default value approach for handling struct initialization. llvm-svn: 74160
* Remove uses of std::ostream from libAnalysis.Ted Kremenek2009-06-2410-72/+45
| | | | llvm-svn: 74136
* Remove unneeded #includes.Ted Kremenek2009-06-241-3/+0
| | | | llvm-svn: 74131
* Remove GRStateManager::GetSValAsScalarOrLoc()/GetSVal().Ted Kremenek2009-06-242-2/+17
| | | | llvm-svn: 74128
* Backed out my last patch which caused a clang-test breakage. WillFariborz Jahanian2009-06-241-1/+1
| | | | | | look at it later. llvm-svn: 74126
* C++ decltype support (N2343)Anders Carlsson2009-06-242-7/+32
| | | | llvm-svn: 74118
* Type::getDesugaredType needs to handle decltype types.Anders Carlsson2009-06-241-0/+2
| | | | llvm-svn: 74115
* Added a missing else part to my previous patche(s).Fariborz Jahanian2009-06-241-2/+1
| | | | llvm-svn: 74108
* Add a DecltypeType type.Anders Carlsson2009-06-246-1/+56
| | | | llvm-svn: 74099
* Parse the C++0x decltype specifier.Anders Carlsson2009-06-244-1/+74
| | | | llvm-svn: 74086
* Update for LLVM API changes.Owen Anderson2009-06-243-3/+6
| | | | llvm-svn: 74085
* fix the type of wchar_t for windows, PR4417Chris Lattner2009-06-241-1/+1
| | | | llvm-svn: 74083
* Fix a clang crash caused by incorrect user code.Fariborz Jahanian2009-06-241-1/+3
| | | | llvm-svn: 74080
* Implement matching of function templates, so that one can declare overloaded ↵Douglas Gregor2009-06-242-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 Xu2009-06-241-2/+1
| | | | llvm-svn: 74047
* RegionStore: revert to the default value approach for array initialization.Zhongxing Xu2009-06-241-8/+5
| | | | llvm-svn: 74043
* Make sure that the template parameter lists get from the parser down to ↵Douglas Gregor2009-06-245-3/+37
| | | | | | ActOnFunctionDeclarator for function template definitions llvm-svn: 74040
* Support for [class.local]p4.Anders Carlsson2009-06-242-1/+9
| | | | llvm-svn: 74030
* When declaring a function template, create a FunctionTemplateDecl nodeDouglas Gregor2009-06-242-3/+24
| | | | | | and associate it with the FunctionDecl. llvm-svn: 74028
* [class.local] p1 and p3. Also, add back the xcodeproj file.Anders Carlsson2009-06-243-15/+36
| | | | llvm-svn: 74027
* Some changes to accomodate Doug's comment forFariborz Jahanian2009-06-231-12/+7
| | | | | | implicit copy constructor definition determination. llvm-svn: 74025
* Start propagating template parameter lists to the right places toDouglas Gregor2009-06-235-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 Dunbar2009-06-231-0/+1
| | | | llvm-svn: 74020
* Introduce SourceManager::ísBeforeInTranslationUnit() which can compare 2 ↵Argyrios Kyrtzidis2009-06-231-0/+100
| | | | | | source locations and determine which one comes before the other, relative to the translation unit. llvm-svn: 74014
* Update CMakeLists.txtArgyrios Kyrtzidis2009-06-231-0/+1
| | | | llvm-svn: 74011
* Patch fixes an obscure bug when 'used' attribute is applied toFariborz Jahanian2009-06-234-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 Gregor2009-06-232-2/+2
| | | | | | very weird way to pass "false". No functionality change llvm-svn: 74007
* Remove GRStateManager::getRegion/getSelfRegion().Ted Kremenek2009-06-233-4/+4
| | | | llvm-svn: 74006
* Remove GRStateManager::BindLoc() and GRStateManager::Unbind().Ted Kremenek2009-06-233-16/+15
| | | | llvm-svn: 73996
* Remove GRStateManager::BindDecl() and GRStateManager::BindDeclWithInit().Ted Kremenek2009-06-231-2/+2
| | | | llvm-svn: 73995
* Make sure that argument-dependent lookup looks into the global scopeDouglas Gregor2009-06-232-14/+47
| | | | | | when it should. llvm-svn: 73992
* - Add MemRegion::getMemorySpace()Ted Kremenek2009-06-232-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 buildDouglas Gregor2009-06-232-2/+2
| | | | llvm-svn: 73976
* Move 'hasStackStorage()' and 'hasHeapStorage()' from MemRegionManager to ↵Ted Kremenek2009-06-234-11/+11
| | | | | | MemRegion. llvm-svn: 73973
* API cleanup: move more methods from GRStateManager to GRState.Ted Kremenek2009-06-232-2/+2
| | | | llvm-svn: 73968
* Update CMake file.Ted Kremenek2009-06-231-0/+1
| | | | llvm-svn: 73958
* Move all factory methods from SVal to ValueManager. API cleanup!Zhongxing Xu2009-06-238-156/+82
| | | | llvm-svn: 73954
* Split ValueManager method definitions into its own source file.Zhongxing Xu2009-06-232-119/+141
| | | | | | No functionality change. llvm-svn: 73952
* ValueManager::makeNonLoc -> ValueManager::makeIntValZhongxing Xu2009-06-233-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 0Zhongxing Xu2009-06-231-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 theZhongxing Xu2009-06-232-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 workChris Lattner2009-06-231-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 Xu2009-06-231-28/+4
| | | | | | trait-based MemRegion creation. llvm-svn: 73941
* Remove duplicated methods.Zhongxing Xu2009-06-232-17/+21
| | | | llvm-svn: 73940
* add a fixme.Zhongxing Xu2009-06-231-0/+2
| | | | llvm-svn: 73939
* fix PR4423.Chris Lattner2009-06-231-1/+2
| | | | llvm-svn: 73938
* Check in a new template argument list builder that should work better for ↵Anders Carlsson2009-06-233-102/+124
| | | | | | variadic templates. llvm-svn: 73937
* switch Warnings.cpp to use the diagnostics machinery to print diagnostics, ↵Chris Lattner2009-06-231-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
OpenPOWER on IntegriCloud