summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* Rename Action::TagKind to Action::TagUseKind, which removes both a misnomerJohn McCall2009-07-317-56/+58
| | | | | | and a name collision. llvm-svn: 77658
* sp.John McCall2009-07-314-4/+4
| | | | 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-312-6/+8
| | | | | | linkage specifications correctly. llvm-svn: 77653
* Add CK_DerivedToBase and use it PerformObjectMemberConversion.Anders Carlsson2009-07-318-11/+23
| | | | 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-3113-57/+128
| | | | | | will be :) llvm-svn: 77650
* Fix use-after-release bug introduced in r77585 where the PathDiagnosticClientTed Kremenek2009-07-312-8/+6
| | | | | | | | | | | | | | | 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-315-16/+68
| | | | llvm-svn: 77647
* Add scan-build option '-no-failure-reports' to supress the creation of a ↵Ted Kremenek2009-07-302-40/+54
| | | | | | 'failures' subdirectory that includes crash reports, preprocessed files, etc. llvm-svn: 77644
* Canonicalization of dependent C++0x decltype types.Douglas Gregor2009-07-305-3/+63
| | | | 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-306-6/+64
| | | | 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-302-5/+36
| | | | | | statements. llvm-svn: 77631
* Add casts to avoid a bunch of unused expr warnings. (They aren't reported ↵Anders Carlsson2009-07-303-3/+3
| | | | | | right now due to a bug that I intend to fix). Ted, please review. llvm-svn: 77630
* 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-302-1/+75
| | | | | | | 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-304-3/+50
| | | | 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-308-18/+132
| | | | | | 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-303-169/+242
| | | | | | 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-306-12/+97
| | | | llvm-svn: 77573
* Add -fblocks.Daniel Dunbar2009-07-303-6/+6
| | | | llvm-svn: 77571
* MultiTestRunner: Stop printing XFAILs on every run, this doesn't really have anyDaniel Dunbar2009-07-301-2/+1
| | | | | | value. llvm-svn: 77566
* This patch collects all analysis context data into a new class Zhongxing Xu2009-07-303-31/+153
| | | | | | AnalysisContext. llvm-svn: 77563
* Remove bogus "unsupported" case for vectors (which shouldn't Eli Friedman2009-07-301-2/+1
| | | | | | | | | | ever trigger). Add an "unsupported" case that triggers for C++ code. It would be nice if someone would implement this properly... it shouldn't be too hard, but I haven't looked closely at the relevant code. llvm-svn: 77562
* Fix type to be consistent with the rest of the code.Mike Stump2009-07-302-2/+2
| | | | llvm-svn: 77560
* Add ability to layout the vtable pointer in trivial cases. I noticedMike Stump2009-07-304-8/+29
| | | | | | | | that we would silently do bad things with virtual bases in the layout code, so, we just turn them off. When people do better things with them, we can turn them back on. llvm-svn: 77556
* Fix gcc warning.Eli Friedman2009-07-301-2/+2
| | | | llvm-svn: 77555
* ir-gen for nested non-virtual base member accessFariborz Jahanian2009-07-302-5/+98
| | | | | | in current class. llvm-svn: 77554
* Add support for -Wno-long-long.Eli Friedman2009-07-302-2/+3
| | | | llvm-svn: 77552
* Add support for ObjC message expressions, in the Analyzer:Argyrios Kyrtzidis2009-07-308-9/+493
| | | | | | | -Accept an ObjC method and find all message expressions that this method may respond to. -Accept an ObjC message expression and find all methods that may respond to it. llvm-svn: 77551
* Update CMake.Argyrios Kyrtzidis2009-07-301-0/+5
| | | | llvm-svn: 77548
* Support ObjC methods as Entities.Argyrios Kyrtzidis2009-07-294-34/+87
| | | | llvm-svn: 77547
* There's no point in going through the getAs<TagType> stuff to find the ↵Douglas Gregor2009-07-291-3/+0
| | | | | | definition of a tag, since tags rarely have more than one or two declarations llvm-svn: 77546
* Use a STL helper template 'pair_value_iterator', by both DeclReferenceMap ↵Argyrios Kyrtzidis2009-07-293-78/+68
| | | | | | and SelectorMap. llvm-svn: 77545
* Add ObjCMethodDecl::isThisDeclarationADefinition().Argyrios Kyrtzidis2009-07-291-0/+3
| | | | llvm-svn: 77544
* Index the selectors and provide the translation units that contain themArgyrios Kyrtzidis2009-07-293-3/+49
| | | | | | through the IndexProvider. llvm-svn: 77543
* Add TranslationUnit::getSelectorMap().Argyrios Kyrtzidis2009-07-292-1/+8
| | | | llvm-svn: 77542
* Introduce SelectorMap whose purpose is to map selectors to objc methods and ↵Argyrios Kyrtzidis2009-07-292-0/+180
| | | | | | | | message exprs, inside a particular ASTContext. llvm-svn: 77541
OpenPOWER on IntegriCloud