summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* Slightly revised handling of mult-alt constraints, to avoid an assert, until ↵John Thompson2010-08-103-5/+48
| | | | | | we have the full fix. llvm-svn: 110706
* When initializing a static local, pop the guard-abort EH cleanup afterJohn McCall2010-08-102-1/+5
| | | | | | the variable is fully initialized. llvm-svn: 110704
* an objective-c++ test for -Wstrict-selector-matchFariborz Jahanian2010-08-101-0/+20
| | | | | | (radar 8127244). llvm-svn: 110702
* Do not use DIGlobalVariable to emit debugging information for enums.Devang Patel2010-08-102-0/+12
| | | | llvm-svn: 110697
* Fix a spurious warning when message sent to qualified-idFariborz Jahanian2010-08-102-2/+6
| | | | | | type receiver (pr7861). llvm-svn: 110696
* Turn on idempotent operations checker when using --analyze.Ted Kremenek2010-08-101-0/+1
| | | | llvm-svn: 110695
* Simplify code and add comments, in code that generate debug info for ↵Devang Patel2010-08-105-18/+15
| | | | | | constant integer globals, based on Chris's feedback. llvm-svn: 110694
* Driver/FreeBSD: Infer the right arch name in the presence of -m32,-m64, for theDaniel Dunbar2010-08-102-6/+32
| | | | | | | cases we care about. - This is eventually going to be unified outside the host specific code. llvm-svn: 110693
* Teach the libclang cursor visitor to walk into the type informationDouglas Gregor2010-08-102-1/+33
| | | | | | | | provided by __builtin_types_compatible_p and __builtin_va_arg expressions, now that Abramo has added proper type-source information to those expressions. llvm-svn: 110681
* Eliminate unnecessary uses of TemporaryBase in TreeTransform;Douglas Gregor2010-08-101-19/+10
| | | | | | | transforming TypeSourceInfos already gives us proper (and better) source-location information. llvm-svn: 110678
* Fixed redundant NNS loading.Abramo Bagnara2010-08-103-7/+10
| | | | llvm-svn: 110677
* Added TypeLocs to VAArgExpr node.Abramo Bagnara2010-08-107-18/+37
| | | | llvm-svn: 110666
* Added TypeLocs to TypesCompatibleExpr node.Abramo Bagnara2010-08-107-30/+50
| | | | llvm-svn: 110663
* Even if a constant's evaluated value is used, emit debug info for the ↵Devang Patel2010-08-106-1/+37
| | | | | | constant variable. llvm-svn: 110660
* Fix redefinition of typedefs of fixable variably-modified array types; shouldEli Friedman2010-08-102-9/+16
| | | | | | fix an issue compiling <windows.h>. llvm-svn: 110651
* Make replicate intrinsics use shufflevector instead of dup builtins, also ↵Bruno Cardoso Lopes2010-08-103-9/+3
| | | | | | remove the dup builtins llvm-svn: 110646
* Use i32 instead of i8 for AVX dot product intrinsicBruno Cardoso Lopes2010-08-101-1/+1
| | | | llvm-svn: 110644
* There is no need to pubish file static variable's name. Do not rely on this ↵Devang Patel2010-08-101-1/+1
| | | | | | code gen bug to check whether debug info is generated for such variables or not. llvm-svn: 110640
* Run the assembler instead of gcc on Linux.Rafael Espindola2010-08-105-0/+76
| | | | llvm-svn: 110635
* Consider the last argument of vblend builtin to be i32 instead of i8Bruno Cardoso Lopes2010-08-101-2/+2
| | | | llvm-svn: 110629
* Implements gcc's -Wstrict-selector-match.Fariborz Jahanian2010-08-096-21/+126
| | | | | | (radar 8127244). llvm-svn: 110622
* When attempting to recover from a failed unqualified name lookup, makeDouglas Gregor2010-08-092-0/+8
| | | | | | sure to clear out the LookupResult structure after looking into each class. llvm-svn: 110615
* Instead of having a specific CXTranslationUnit_* option flag forDouglas Gregor2010-08-096-25/+32
| | | | | | | | "editing" mode, introduce a separate function clang_defaultEditingTranslationUnitOptions() that retrieves the set of options. No functionality change. llvm-svn: 110613
* - Make ObjCInterfaceDecl redeclarable, and create separate decl nodes for ↵Sebastian Redl2010-08-0920-148/+274
| | | | | | | | | | forward declarations and the definition. - Eagerly create ObjCInterfaceTypes for declarations. - The two above changes lead to a 0.5% increase in memory use and no speed regression when parsing Cocoa.h. On the other hand, now chained PCH works when there's a forward declaration in one PCH and the interface definition in another. - Add HandleInterestingDecl to ASTConsumer. PCHReader passes the "interesting" decls it finds to this function instead of HandleTopLevelDecl. The default implementation forwards to HandleTopLevelDecl, but ASTUnit's handler for example ignores them. This fixes a potential crash when lazy loading of PCH data would cause ASTUnit's "top level" declaration collection to change while being iterated. llvm-svn: 110610
* Added vecreturn attribute parsing.John Thompson2010-08-096-0/+84
| | | | llvm-svn: 110609
* Change warning about incomplete parsing of C++ default arg to error and ↵Argyrios Kyrtzidis2010-08-093-8/+8
| | | | | | provide a test case; thanks Doug! llvm-svn: 110603
* Fix mixed declarations and code warning.Daniel Dunbar2010-08-091-1/+1
| | | | llvm-svn: 110602
* Minor libclang tweaksDouglas Gregor2010-08-092-2/+5
| | | | llvm-svn: 110599
* Use precompiled preambles for in-process code completion.Douglas Gregor2010-08-099-39/+188
| | | | llvm-svn: 110596
* Allow EvalBinOpNN to handle expressions of the form $a+$b if $b can be ↵Jordy Rose2010-08-092-4/+37
| | | | | | reduced to a constant. llvm-svn: 110592
* Warn if class object does not implement qualifiedFariborz Jahanian2010-08-092-6/+6
| | | | | | id's protocols. Fixes radar 8154220. llvm-svn: 110583
* Remove a FIXME.Argyrios Kyrtzidis2010-08-091-4/+3
| | | | llvm-svn: 110571
* Complete PCH support for ObjCPropertyImplDecl.Argyrios Kyrtzidis2010-08-094-5/+19
| | | | llvm-svn: 110570
* Revert the dump functions to send output to llvm::errs(), matching the LLVM ↵Argyrios Kyrtzidis2010-08-093-10/+15
| | | | | | | | convention; suggestion by Daniel. '-ast-print' / '-ast-dump' command line options still send output to llvm::outs(). llvm-svn: 110569
* Replace a parser assertion with a warning, suggestion by Doug.Argyrios Kyrtzidis2010-08-092-3/+10
| | | | llvm-svn: 110568
* Support ObjC implementation decls for PCH.Argyrios Kyrtzidis2010-08-096-9/+50
| | | | | | Strictly speaking, implementations don't go in headers but there's no law against it. llvm-svn: 110567
* Refactor into functions PCH reading/writing the CXXBaseOrMemberInitializers. ↵Argyrios Kyrtzidis2010-08-097-85/+110
| | | | | | No functionality change. llvm-svn: 110566
* Remove C++0x concept keyword tokens since concepts were removed from C++0x.Alexis Hunt2010-08-081-5/+0
| | | | llvm-svn: 110553
* Fix a few more typos. Amusingly, GCC made the same mistake around version 3.2.Chandler Carruth2010-08-081-4/+4
| | | | llvm-svn: 110546
* Fix some typos I made when adding alternate intrinsic names.Chandler Carruth2010-08-081-2/+2
| | | | llvm-svn: 110545
* Revert r110440, the fix for PR4897. Chris claims to have a better way.Douglas Gregor2010-08-084-66/+32
| | | | llvm-svn: 110544
* Fix a crash on template delete operators.Chandler Carruth2010-08-082-2/+20
| | | | llvm-svn: 110542
* Make this test check a few more cases which didn't work correctly beforeEli Friedman2010-08-081-1/+27
| | | | | | r110526. llvm-svn: 110540
* Silence GCC warning about && and || without explicit grouping.Chandler Carruth2010-08-081-2/+2
| | | | llvm-svn: 110537
* Thread local variables aren't considered common linkage.Eric Christopher2010-08-082-1/+3
| | | | llvm-svn: 110530
* PR7800: both virtual and non-virtual bases must be marked as used for VTTs.Eli Friedman2010-08-072-2/+16
| | | | llvm-svn: 110526
* Make -funroll-loops turn on loop unrolling in the optimizer insteadEric Christopher2010-08-074-4/+11
| | | | | | of just ignoring it. llvm-svn: 110525
* Push location through the MacroUndefined PPCallback and use it to print ↵Benjamin Kramer2010-08-076-7/+33
| | | | | | #undefs in -dD mode. (PR7818) llvm-svn: 110523
* Integral-to-pointer conversions are not always null -> member pointerDouglas Gregor2010-08-071-2/+8
| | | | | | conversions. Fixes PR7443. llvm-svn: 110519
* Fix an Objective-C crasher, PR7839.Douglas Gregor2010-08-072-1/+6
| | | | llvm-svn: 110515
OpenPOWER on IntegriCloud