summaryrefslogtreecommitdiffstats
path: root/clang/lib
Commit message (Collapse)AuthorAgeFilesLines
* Temporarily disable out-of-bounds checking. The current checking logic will ↵Ted Kremenek2009-08-011-1/+6
| | | | | | not work quite right with the changes I'm about to commit. llvm-svn: 77779
* More warnings for unused expressions.Anders Carlsson2009-08-011-0/+2
| | | | llvm-svn: 77763
* Add beginnigs of rtti generation, wire up more of -fno-exceptions.Mike Stump2009-07-315-6/+68
| | | | llvm-svn: 77751
* Remove the old struct builder code.Anders Carlsson2009-07-311-177/+1
| | | | llvm-svn: 77738
* And now we can generate a simple vtable. Still a work in progress...Mike Stump2009-07-311-11/+23
| | | | llvm-svn: 77737
* Move code from EmitUnion directly into the function that handles cast-to-union.Anders Carlsson2009-07-311-2/+28
| | | | llvm-svn: 77735
* Use the struct builder for unions.Anders Carlsson2009-07-311-0/+2
| | | | llvm-svn: 77732
* Fixup spacing and 80-col violations.Mike Stump2009-07-311-20/+27
| | | | llvm-svn: 77731
* Update for LLVM API change.Owen Anderson2009-07-3114-84/+84
| | | | llvm-svn: 77722
* For a CXXOperatorCallExpr, fix the order that StmtLocResolver uses to check ↵Argyrios Kyrtzidis2009-07-311-0/+33
| | | | | | subexpressions. llvm-svn: 77713
* Remove a redundant getCanonicalType callDouglas Gregor2009-07-311-1/+1
| | | | llvm-svn: 77702
* Add code to setup the vtable pointer in the constructor. Work in progress.Mike Stump2009-07-317-13/+76
| | | | llvm-svn: 77699
* Fix spacing.Mike Stump2009-07-311-1/+1
| | | | llvm-svn: 77688
* Update for LLVM API change.Owen Anderson2009-07-313-10/+10
| | | | llvm-svn: 77686
* Make canonicalization of overloaded function declarations match theDouglas Gregor2009-07-311-19/+3
| | | | | | | Itanium C++ ABI's name mangling, since both are related to the notion of "equivalent" function templates. llvm-svn: 77678
* Canonicalize template template parameters. We can't test this yet, butDouglas Gregor2009-07-311-1/+5
| | | | | | it's "obviously correct" :) llvm-svn: 77677
* Canonicalize function parametersDouglas Gregor2009-07-311-0/+12
| | | | llvm-svn: 77676
* Canonicalization and profiling for overloaded function declarations,Douglas Gregor2009-07-312-5/+43
| | | | | | | | for those extra-esoteric cases. Not that any two given C++ compilers agree on this test case, but this change gives us a strong definition of equivalent types. llvm-svn: 77664
* Canonicalize dependent extended vector types.Douglas Gregor2009-07-312-5/+37
| | | | llvm-svn: 77663
* PR3679 - enable #pragma weak aliasing.Ryan Flynn2009-07-314-8/+31
| | | | llvm-svn: 77660
* Rename Action::TagKind to Action::TagUseKind, which removes both a misnomerJohn McCall2009-07-316-46/+47
| | | | | | and a name collision. llvm-svn: 77658
* sp.John McCall2009-07-313-3/+3
| | | | llvm-svn: 77656
* Whitespace around else canonicalization and fix 80-col violations.Mike Stump2009-07-311-7/+5
| | | | llvm-svn: 77655
* Make the check for the linkage of a template handle the case of nested Eli Friedman2009-07-311-6/+5
| | | | | | linkage specifications correctly. llvm-svn: 77653
* Add CK_DerivedToBase and use it PerformObjectMemberConversion.Anders Carlsson2009-07-317-10/+19
| | | | llvm-svn: 77652
* Fix build warnings.Mike Stump2009-07-311-1/+2
| | | | llvm-svn: 77651
* Add a CastKind enum to CastExpr. Right now it's not used for much but it ↵Anders Carlsson2009-07-3110-32/+78
| | | | | | will be :) llvm-svn: 77650
* Fix use-after-release bug introduced in r77585 where the PathDiagnosticClientTed Kremenek2009-07-311-5/+4
| | | | | | | | | | | | | | | created by AnalysisConsumer would be released by an instance of AnalysisManager and then reused by later instances of AnalysisManager. Ownership of the PathDiagnosticClient now belongs (for now) in AnalysisConsumer. We also need this layering (for now) because the HTMLDiagnostiClient requires that the entire translation unit be processed before emitting diagnostics. This is done in its destructor (which should also be fixed, but that is another issue). This fixes PR 4653. llvm-svn: 77648
* Build canonical types for dependently-sized array types.Douglas Gregor2009-07-312-10/+44
| | | | llvm-svn: 77647
* Canonicalization of dependent C++0x decltype types.Douglas Gregor2009-07-302-3/+28
| | | | llvm-svn: 77643
* Synthesize the default constructor which has notFariborz Jahanian2009-07-302-1/+19
| | | | | | been declared as needed. llvm-svn: 77641
* Canonicalization for dependent typeof(expr) types.Douglas Gregor2009-07-303-5/+27
| | | | llvm-svn: 77639
* Update for LLVM API changes.Owen Anderson2009-07-307-23/+23
| | | | llvm-svn: 77638
* Diagnose unused expression results for all statements, just not compound ↵Anders Carlsson2009-07-301-5/+17
| | | | | | statements. llvm-svn: 77631
* Canonicalize else spacing.Mike Stump2009-07-3010-70/+33
| | | | llvm-svn: 77629
* Factor code out into a DiagnoseUnusedExprResult function.Anders Carlsson2009-07-302-12/+24
| | | | llvm-svn: 77628
* Note some other limitations.Mike Stump2009-07-301-1/+9
| | | | llvm-svn: 77626
* Update based upon comments. Explain why we have an assert.Mike Stump2009-07-301-2/+2
| | | | llvm-svn: 77612
* We'll also need a vtable pointer if we have virtual bases.Mike Stump2009-07-301-1/+1
| | | | llvm-svn: 77610
* What luck! Clang obtains support for refering to members of theDouglas Gregor2009-07-301-1/+2
| | | | | | | current instantiation when that current instantiation is a class template partial specialization. llvm-svn: 77609
* Patch for future ir-gen for destructor calls.Fariborz Jahanian2009-07-303-2/+49
| | | | llvm-svn: 77608
* Lexically order files.Ted Kremenek2009-07-301-2/+2
| | | | llvm-svn: 77607
* Support out-of-line definitions of the members of class templateDouglas Gregor2009-07-304-18/+79
| | | | | | partial specializations. llvm-svn: 77606
* Initialize an otherwise-wild pointer. Fixes a crashy analyzerDouglas Gregor2009-07-301-1/+1
| | | | llvm-svn: 77599
* fix cmake buildBenjamin Kramer2009-07-301-0/+1
| | | | llvm-svn: 77589
* simple fixes.Zhongxing Xu2009-07-301-4/+2
| | | | llvm-svn: 77587
* Make AnalysisManager into its own source file and a pure data management class. Zhongxing Xu2009-07-302-169/+93
| | | | | | Move all components creation code into AnalysisConsumer::DigestAnalyzerOptions(). llvm-svn: 77585
* Update CMakeLists.txtDaniel Dunbar2009-07-301-0/+1
| | | | llvm-svn: 77577
* Fix Selector <-> GlobalSelector conversion.Argyrios Kyrtzidis2009-07-301-2/+3
| | | | llvm-svn: 77575
* PR3679 - handle #pragma weakRyan Flynn2009-07-304-11/+94
| | | | llvm-svn: 77573
OpenPOWER on IntegriCloud