summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
...
* When diagnosing enumerator values outside of the range of 'int', beDouglas Gregor2010-02-172-2/+3
| | | | | | | sure that we get the "too large" vs. "too small" part of the diagnostic correct. llvm-svn: 96524
* silence warning in a cleaner wayChris Lattner2010-02-171-2/+1
| | | | llvm-svn: 96520
* Alphabetize #includes. No functionality change.Ted Kremenek2010-02-171-10/+9
| | | | llvm-svn: 96518
* Change GNUInlineAttr definition to just use DEF_SIMPLE_ATTR.Ted Kremenek2010-02-171-15/+3
| | | | llvm-svn: 96517
* Implement AST importing of ImplicitParamDecls, despite the sad factDouglas Gregor2010-02-171-0/+27
| | | | | | that we can't test it yet. llvm-svn: 96516
* Don't make the inclusion of crashtracer information depend on NDEBUG.Ted Kremenek2010-02-171-3/+1
| | | | llvm-svn: 96515
* Hopefully make buildbot happy.Fariborz Jahanian2010-02-171-1/+1
| | | | llvm-svn: 96513
* clang: Add support for s// edit form of QA_OVERRIDE_GCC3_OPTIONS.Daniel Dunbar2010-02-171-7/+22
| | | | | | - Used to do regex patsubst on arguments. llvm-svn: 96512
* PR5803: clang++: Treat untyped 'C' inputs as C++.Daniel Dunbar2010-02-175-1/+40
| | | | | | | - Patch by Andrzej K. Haczewski, with a tweak by me to emit a 'deprecated' diagnostic when we do this. We'll see what zee users say. llvm-svn: 96511
* tests: Add '%clangxx' substitution, for 'clang++'Daniel Dunbar2010-02-171-0/+3
| | | | llvm-svn: 96510
* Patch to remove arbitrary imporation of 'self' intoFariborz Jahanian2010-02-172-13/+16
| | | | | | | | a block without it being used. This causes over release of objects in certain runtime-senitive apps. (fixes radar 7581175). llvm-svn: 96501
* Fix test to not force triple, and also to not need stdint.h.Daniel Dunbar2010-02-171-2/+2
| | | | llvm-svn: 96499
* Did not intend to check this in.Fariborz Jahanian2010-02-171-2/+0
| | | | llvm-svn: 96486
* Use proper lexcial context for newly added ivars.Fariborz Jahanian2010-02-172-2/+4
| | | | llvm-svn: 96484
* Implement AST merging for Objective-C properties.Douglas Gregor2010-02-175-1/+99
| | | | llvm-svn: 96483
* Make FinalOverriders handle virtual bases correctly. Unfortunately this ↵Anders Carlsson2010-02-171-3/+33
| | | | | | can't be tested just yet. llvm-svn: 96481
* Allow for declaration and use of ivars in a stand-aloneFariborz Jahanian2010-02-172-0/+18
| | | | | | implementation (toward radar 7547942). llvm-svn: 96479
* AST import for Objective-C protocolsDouglas Gregor2010-02-174-2/+116
| | | | llvm-svn: 96478
* In symbol reaper, a variable is live if its stack frame is the parent of the Zhongxing Xu2010-02-172-4/+20
| | | | | | | | current stack frame. When leaving a callee, remove all bindings belonging to that callee. llvm-svn: 96473
* For inline-based inter-procedural analysis, we will have multiple stack ↵Zhongxing Xu2010-02-172-18/+21
| | | | | | space regions. Use a dense map to store them. llvm-svn: 96472
* Add a utility method.Zhongxing Xu2010-02-172-0/+14
| | | | llvm-svn: 96471
* Update checker build.Ted Kremenek2010-02-171-1/+1
| | | | llvm-svn: 96470
* Driver: Tweak freebsd::Link, by Roman Divacky.Daniel Dunbar2010-02-171-2/+4
| | | | llvm-svn: 96469
* Fix comment.Daniel Dunbar2010-02-171-2/+2
| | | | llvm-svn: 96468
* Handle primary bases in AddVCallOffsets.Anders Carlsson2010-02-171-2/+9
| | | | llvm-svn: 96461
* Silence GCC warning by marking an assert-only variable as unused.Chandler Carruth2010-02-171-1/+1
| | | | llvm-svn: 96459
* First cut at emitting vcall offsets.Anders Carlsson2010-02-171-3/+77
| | | | llvm-svn: 96455
* Do not add functions marked with the unused attribute to the list of unused ↵Tanya Lattner2010-02-172-1/+5
| | | | | | functions to warn about. Update test case. llvm-svn: 96452
* Emit complete constructors and destructors as aliases to base constructorsJohn McCall2010-02-1710-43/+155
| | | | | | | | and destructors when the two entities are semantically identical, i.e. when the class has no virtual base classes. We only do this for linkage types for which aliases are supported, i.e. internal and external, i.e. not linkonce. llvm-svn: 96451
* Pass through whether a base is virtual or not.Anders Carlsson2010-02-171-17/+26
| | | | llvm-svn: 96449
* Add IBAction attribute to keep the IBOutlet attribute company.Ted Kremenek2010-02-178-11/+47
| | | | llvm-svn: 96447
* implement EmitVAArg. pretty much the same way other targets do.Sanjiv Gupta2010-02-171-1/+21
| | | | llvm-svn: 96446
* Fix unused function warning to handle used attributes and redeclarations. ↵Tanya Lattner2010-02-174-7/+33
| | | | | | Update test case. llvm-svn: 96444
* Implement AST importing and checking for Objective-C method declarations.Douglas Gregor2010-02-176-10/+210
| | | | llvm-svn: 96442
* Correctly calculate base offsets for 'this' pointer adjustments involving ↵Anders Carlsson2010-02-171-3/+40
| | | | | | virtual bases. This can't be tested yet due to lack of vcall offsets :) llvm-svn: 96441
* Convert clang_getCompletionChunkText() to return a CXString.Ted Kremenek2010-02-173-9/+15
| | | | llvm-svn: 96439
* Revert r95939, as suggested by Alexandre Julliard from the Wine project (andCharles Davis2010-02-174-12/+6
| | | | | | our own Chris Lattner). llvm-svn: 96431
* Remove trailing spaces.Ted Kremenek2010-02-171-212/+212
| | | | llvm-svn: 96427
* Change clang_getCursorKindSpelling() to return a CXStringTed Kremenek2010-02-173-158/+202
| | | | | | instead of a 'const char *'. llvm-svn: 96425
* Change clang_getFileName() to return a 'CXString' instead of 'const char *'.Ted Kremenek2010-02-173-13/+31
| | | | llvm-svn: 96424
* Move createCXString() functions out of CIndexer and into the clang::cxstring ↵Ted Kremenek2010-02-174-98/+101
| | | | | | | | | | | | namespace. We can much more succinctly refer to these functions this way. Also change the default behavior of createCXString(StringRef&) to duplicate the string. This is almost always what we want. The other case is where we pass a constant c-string, which uses the other version of createCXString(). llvm-svn: 96423
* Implement AST importing of Objective-C instance variables. Douglas Gregor2010-02-175-10/+127
| | | | | | Check superclasses when merging two Objective-C @interfaces. llvm-svn: 96420
* More rewriter test converted to compile with clang.Fariborz Jahanian2010-02-162-8/+2
| | | | llvm-svn: 96406
* With addition of -Wno-address-of-temporary (thank you Doug) we can nowFariborz Jahanian2010-02-161-4/+3
| | | | | | | have rewriter test cases which pass the .cpp file through clang and also test c++ aspect of clang. llvm-svn: 96405
* IRgen optimization: cache the value of 'this' and 'vtt' instead ofJohn McCall2010-02-164-25/+19
| | | | | | | | repeatedly reloading from an alloca. We still need to create the alloca for debug info purposes (although we currently create it in all cases because of some abstraction boundaries that're hard to break down). llvm-svn: 96403
* Distinguish two lexical blocks at the same level.Devang Patel2010-02-162-1/+22
| | | | llvm-svn: 96397
* Introduce a new kind of failed result for isLvalue/isModifiableLvalueDouglas Gregor2010-02-166-6/+62
| | | | | | | | which describes temporary objects of class type in C++. Use this to provide a more-specific, remappable diagnostic when takin the address of such a temporary. llvm-svn: 96396
* IRgen: Switch 'retval' to use CreateIRTemp.Daniel Dunbar2010-02-162-8/+17
| | | | llvm-svn: 96376
* Disable warn_unused_function for now, its breaking various project builds due toDaniel Dunbar2010-02-162-3/+6
| | | | | | false positives. llvm-svn: 96375
* IRgen: Add CreateIRTemp, which creates a temporary alloca but with type ↵Daniel Dunbar2010-02-162-1/+18
| | | | | | converted "not-for-memory". Dunno a better name. llvm-svn: 96374
OpenPOWER on IntegriCloud