summaryrefslogtreecommitdiffstats
path: root/clang/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Move the MacroBuilder utilitiy to its own header. Update references.Chandler Carruth2010-01-202-0/+2
| | | | | | Comments and/or improvements to the documentation are welcome. llvm-svn: 93982
* Fix an invalid Twine use spotty by abbeyj, it isn't safe to use TwineDaniel Dunbar2010-01-201-1/+4
| | | | | | | temporaries (this is one reason I'm nervous about propagating their use beyond particularly performance critical places). llvm-svn: 93981
* Actually remove the include that r93974 made unnecessary.Chandler Carruth2010-01-201-1/+0
| | | | llvm-svn: 93975
* Add a missing case for DeclContext printer.Zhongxing Xu2010-01-201-0/+5
| | | | llvm-svn: 93973
* Driver: Lift clang resource directory computation to the Driver object.Daniel Dunbar2010-01-202-9/+9
| | | | llvm-svn: 93971
* clang/Darwin: Update for rename of 10.4 static runtime library.Daniel Dunbar2010-01-201-1/+1
| | | | llvm-svn: 93970
* Also handle CXXConstructor, CXXDestructor and CXXConversion in CFGMike Stump2010-01-201-2/+4
| | | | | | printing. llvm-svn: 93968
* Use the llvm coding convention for indentation for switch.Mike Stump2010-01-209-148/+148
| | | | llvm-svn: 93966
* Patch to implement required warnings for unimplementedFariborz Jahanian2010-01-202-41/+82
| | | | | | properties imported frfom protocol. Fixes radar 7544809. llvm-svn: 93965
* Wire up the EH context for the catch clauses to the outer EH context. WIP.Mike Stump2010-01-201-9/+9
| | | | llvm-svn: 93963
* Add an exceptional edge from the try terminated block to the outer EHMike Stump2010-01-201-2/+16
| | | | | | | | context (try or the Exit block) when there isn't a catch (...). Improve CFG printing for catch (...). llvm-svn: 93962
* Give UnresolvedSet the ability to store access specifiers for each declaration.John McCall2010-01-2010-74/+72
| | | | | | | Change LookupResult to use UnresolvedSet. Also extract UnresolvedSet into its own header and make it templated over an inline capacity. llvm-svn: 93959
* Improve CheckFallThrough analysis in the presense of the new C++ EHMike Stump2010-01-201-1/+10
| | | | | | support. WIP. llvm-svn: 93956
* add support for Fedora 10 x86_64, there really should be a better way to ↵Chris Lattner2010-01-191-0/+4
| | | | | | | | handle this. patch by Dmitry llvm-svn: 93948
* Implement goto inside of blocks.Mike Stump2010-01-192-4/+20
| | | | llvm-svn: 93945
* Update and move around comments.Eric Christopher2010-01-191-1/+4
| | | | llvm-svn: 93942
* The type of a compound literal expression is not necessarily the same as theJohn McCall2010-01-193-6/+10
| | | | | | type which was syntactically written. Fixes PR 6080. llvm-svn: 93933
* Add CFG support for the start and end of scopes and infrastructure forMike Stump2010-01-191-18/+76
| | | | | | implicit destructor calls. WIP. llvm-svn: 93922
* Rewriteing of gnu extension __typeof in objective-c rewriter.Fariborz Jahanian2010-01-191-1/+13
| | | | | | Fixes radar 6358225. llvm-svn: 93917
* Don't try to build/install/clean compiler-rt stuff if it isn't in the ↵Daniel Dunbar2010-01-191-2/+2
| | | | | | projects directory. llvm-svn: 93914
* Initial cut at integrating compiler-rt (on Darwin) w/ clang build.Daniel Dunbar2010-01-192-2/+101
| | | | | | | | | | | | | | | - compiler-rt should be checked out into $LLVM_SRC_ROOT/projects/compiler-rt. - On Darwin, this will automatically build the runtime libraries clang needs into $OBJROOT/lib/clang/<version>/darwin/... - The mechanism can easily support other platforms, and can eventually support multiple platforms once clang has some kind of configure process (for specifying the desired targets). - Feedback on the approach is welcome. llvm-svn: 93910
* Tighten code and rework indentation of some if() branches (for readability). ↵Ted Kremenek2010-01-191-16/+15
| | | | | | No functionality change. llvm-svn: 93904
* Remove extra space in uses of 'assert()'.Ted Kremenek2010-01-191-7/+7
| | | | llvm-svn: 93903
* Re-alphabetize cases in switch statement.Ted Kremenek2010-01-191-9/+9
| | | | llvm-svn: 93902
* Eliminate cursor kinds used to express definitions. Instead, provideDouglas Gregor2010-01-191-2/+2
| | | | | | | | | | | | CIndex functions that (1) map from a reference or declaration to the corresponding definition, if available, and (2) determine whether a given declaration cursor is also a definition. This eliminates a lot of duplication in the cursor kinds, and maps more closely to the Clang ASTs. This is another API + ABI breaker with no deprecation. Yay, progress. llvm-svn: 93893
* Issue diagnostics (instead of crashing in code gen) when usingFariborz Jahanian2010-01-191-8/+2
| | | | | | | property dot-syntax notation to use setter/getters in objective-c. Fixes radar 7553050. llvm-svn: 93883
* Avoid an instantiation of std::sort.Benjamin Kramer2010-01-191-14/+10
| | | | llvm-svn: 93882
* Teach Sema::ActOnDependentTemplateName that a dependent template nameDouglas Gregor2010-01-193-28/+9
| | | | | | | | in a member access expression referring into the current instantiation need not be resolved at template definition *if* the current instantiation has any dependent base classes. Fixes PR6081. llvm-svn: 93877
* Fix a serious bug: Tmp3 is the wrong destination set. We should create a newZhongxing Xu2010-01-191-6/+6
| | | | | | intermediate destination set Tmp4. llvm-svn: 93873
* In a mem-initializer, a nested-name-specifier followed by anDouglas Gregor2010-01-191-8/+25
| | | | | | | | | identifier always names a type. In the case of a dependent nested-name-specifier, build a TypenameType to describe the dependent base type. I'd like to move more of this behavior up into the parser, but this fixes PR6062. llvm-svn: 93871
* When looking up enumerator names for redeclaration, use theDouglas Gregor2010-01-191-1/+2
| | | | | | | ForRedeclaration flag so that we don't look into base classes. Fixes PR6061. llvm-svn: 93862
* Add try/catch CFG support. Also improve throw CFG support. WIP.Mike Stump2010-01-191-10/+100
| | | | llvm-svn: 93840
* Emit human readable names for operators.Devang Patel2010-01-191-4/+3
| | | | llvm-svn: 93837
* First cut at emitting debugging information for C++ member functions.Devang Patel2010-01-192-2/+77
| | | | | | There is lot more work to do in this area. llvm-svn: 93836
* Fix possible memory leak by using an OwningPtr.Ted Kremenek2010-01-191-5/+5
| | | | llvm-svn: 93834
* Use llvm::Function name as the linkage name, but strip off leading '01' from ↵Devang Patel2010-01-191-0/+2
| | | | | | display name. llvm-svn: 93822
* Refactor.Devang Patel2010-01-192-49/+62
| | | | llvm-svn: 93814
* llvm::Function name is the linkage name. If it has a '01' as a prefix then ↵Devang Patel2010-01-181-3/+0
| | | | | | probably there is a reason. llvm-svn: 93808
* Allow conversion of pointer to an objective-c pointer toFariborz Jahanian2010-01-181-1/+11
| | | | | | a similar pointer. Fixes radar 7552179. llvm-svn: 93803
* allow the HandlerComment callback to push tokens into theChris Lattner2010-01-183-18/+36
| | | | | | | preprocessor. This could be used by an OpenMP implementation or something. Patch by Abramo Bagnara! llvm-svn: 93795
* simplify the code for skipping in a #if 0 block. The CurLexerChris Lattner2010-01-181-4/+1
| | | | | | | pointer is always non-null because the PTH case exits earlier in the method. llvm-svn: 93794
* float, double, and long double do need extra data in theDouglas Gregor2010-01-181-5/+3
| | | | | | BuiltinTypeLoc structure. Thanks, Enea! llvm-svn: 93763
* Preserve type source information in compound literal expressions.John McCall2010-01-186-34/+49
| | | | | | Patch by Enea Zaffanella! llvm-svn: 93752
* Print fix-it hints properly around tabs, from Christian Adåker!Douglas Gregor2010-01-181-0/+36
| | | | llvm-svn: 93750
* Remove ../libexec from clang program search path, clang-cc is dead.Daniel Dunbar2010-01-181-24/+0
| | | | llvm-svn: 93749
* Mostly renaming some methods and updating comments toFariborz Jahanian2010-01-182-31/+40
| | | | | | | reflect what these methods are actually doing. One method template for future work. No change in functionality. llvm-svn: 93742
* Improve source-location information for builtin TypeLocs, from EneaDouglas Gregor2010-01-186-3/+109
| | | | | | Zaffanella (with a couple of my tweaks). llvm-svn: 93733
* Encoding calling conventions in the type system, from Charles Davis!Douglas Gregor2010-01-184-34/+74
| | | | llvm-svn: 93726
* More VTT builder fixes. With these fixes we now correctly handle the very ↵Anders Carlsson2010-01-181-1/+20
| | | | | | complex VTT example from the Itanium ABI spec. llvm-svn: 93725
* Add support for computing size in elements for symbolic regions obtained fromZhongxing Xu2010-01-184-10/+36
| | | | | | malloc(). llvm-svn: 93722
OpenPOWER on IntegriCloud