summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixup key function calculations.Mike Stump2009-11-204-59/+58
| | | | llvm-svn: 89412
* Deduce a ConstantArrayType from a value-dependent initializer listDouglas Gregor2009-11-193-9/+43
| | | | | | | rather than punting to a DependentSizedArrayType, tightening up our type checking for template definitions. Thanks, John! llvm-svn: 89407
* Draw a brighter line between "unresolved" expressions, where we have done theJohn McCall2009-11-1910-57/+61
| | | | | | | | appropriate lookup and simply can't resolve the referrent yet, and "dependent scope" expressions, where we can't do the lookup yet because the entity we need to look into is a dependent type. llvm-svn: 89402
* Don't issue spurious diagnostic with Obj-C fast enumeration.Fariborz Jahanian2009-11-195-1/+15
| | | | | | (radar 7409165). llvm-svn: 89400
* Fix some default in the option classes, and some CompilerInvocation argificationDaniel Dunbar2009-11-195-21/+28
| | | | | | errors. llvm-svn: 89388
* Add missing dependency on TableGen.Daniel Dunbar2009-11-191-2/+2
| | | | llvm-svn: 89387
* Fixup address point computations. WIP.Mike Stump2009-11-191-18/+26
| | | | llvm-svn: 89386
* Fix crash when using --analyzer-store=region when handling initializers with ↵Ted Kremenek2009-11-192-11/+78
| | | | | | nested arrays/structs whose values are not explicitly specified. Fixes <rdar://problem/7403269>. llvm-svn: 89384
* Remove printf statement.Ted Kremenek2009-11-191-2/+0
| | | | llvm-svn: 89383
* Fix 80 col. violation.Ted Kremenek2009-11-191-9/+14
| | | | llvm-svn: 89382
* Only fetch the ASTContext object within the assertion.Ted Kremenek2009-11-191-4/+2
| | | | llvm-svn: 89375
* Silence -Asserts warning.Daniel Dunbar2009-11-191-0/+1
| | | | llvm-svn: 89373
* Driver: Move INPUT and UNKNOWN sentinel options into the OptParser.td file.Daniel Dunbar2009-11-195-14/+11
| | | | llvm-svn: 89371
* Patch to implement new-operators with default args.Fariborz Jahanian2009-11-192-3/+64
| | | | | | Fixes pr5547. llvm-svn: 89370
* Driver: Add Sentinel flag to option kinds.Daniel Dunbar2009-11-191-1/+3
| | | | llvm-svn: 89367
* Cope with an amusingly little anomaly with dependent types andDouglas Gregor2009-11-194-12/+59
| | | | | | | | | | | | | | | | | | incomplete array initialization, where we have the following in a template: int a[] = { 1, 2, something-value-dependent }; // ... sizeof(a); The type of "a" appears to be a non-dependent IncompleteArrayType, but treating it as such makes the sizeof(a) fail at template definition time. We now correctly handle this by morphing the IncompleteArrayType into a DependentSizedArrayType with a NULL expression, indicating that its size has no corresponding expression (and, therefore, the type is distinct from others). llvm-svn: 89366
* Added preliminary support step for PS3John Thompson2009-11-191-0/+47
| | | | llvm-svn: 89362
* Try yet again to de-bork CMake Windows build w.r.t. clang++Douglas Gregor2009-11-191-2/+8
| | | | llvm-svn: 89361
* Define WCHAR_MIN and WCHAR_MAX in terms of __WCHAR_WIDTH__ for consistency withKen Dyck2009-11-191-2/+2
| | | | | | other limit macros. llvm-svn: 89355
* Define __WCHAR_WIDTH__ for use in stdint.h.Ken Dyck2009-11-192-0/+12
| | | | llvm-svn: 89353
* Parameterize WINT_MIN and WINT_MAX with __WINT_WIDTH__ to support arbitrary Ken Dyck2009-11-192-6/+6
| | | | | | widths. This corrects the values of these definitions for MSP430 and PIC16. llvm-svn: 89350
* Add __WINT_WIDTH__ to paramaterize the limits of WINT_MIN and WINT_MAX in Ken Dyck2009-11-192-0/+12
| | | | | | stdint.h. llvm-svn: 89348
* Construct definition of SIZE_MAX from __SIZE_WIDTH__ to support targets ofKen Dyck2009-11-191-16/+1
| | | | | | arbitrary widths. llvm-svn: 89347
* Add __SIZE_WIDTH__ to eventually replace __SIZE_TYPE__ in stdint.h.Ken Dyck2009-11-192-0/+12
| | | | llvm-svn: 89346
* Restore __INTMAX_TYPE__, __UINTMAX_TYPE__, __PTRDIFF_TYPE__, andKen Dyck2009-11-192-0/+48
| | | | | | | __INTPTR_TYPE__ as the last is used in the test/CodeGen/const-init.c and all could potentially be in use in the wild. My apologies. llvm-svn: 89345
* Remove __PTRDIFF_TYPE__ as it is no longer needed by stdint.h. It has been Ken Dyck2009-11-192-12/+0
| | | | | | replaced with __PTRDIFF_WIDTH__. llvm-svn: 89344
* Construct the macro body of PTRDIFF_MAX and PTRDIFF_MIN from __PTRDIFF_WIDTH__.Ken Dyck2009-11-191-6/+2
| | | | llvm-svn: 89343
* Add __PTRDIFF_WIDTH__ macro to eventually replace __PTRDIFF_TYPE__ in stdint.h.Ken Dyck2009-11-192-0/+12
| | | | llvm-svn: 89342
* Remove __INTPTR_TYPE__ as it is no longer needed by stdint.h, which usesKen Dyck2009-11-192-12/+0
| | | | | | __INTPTR_WIDTH__ instead. llvm-svn: 89340
* Try to fix CMake clang++ creation on WindowsDouglas Gregor2009-11-191-3/+3
| | | | llvm-svn: 89336
* Add missing testcase for Objective-C p@property getter/setter completionsDouglas Gregor2009-11-191-0/+41
| | | | llvm-svn: 89335
* Objective-C code completion within properties after "setter = " orDouglas Gregor2009-11-196-40/+215
| | | | | | "getter = ", to provide suitable method names. llvm-svn: 89334
* Sketch some 'clang -cc1' support, for testing parts of CompilerInvocation.Daniel Dunbar2009-11-195-2/+98
| | | | llvm-svn: 89333
* Add missing dependency for CMake.Daniel Dunbar2009-11-191-1/+1
| | | | llvm-svn: 89332
* Add missing init.Daniel Dunbar2009-11-191-1/+1
| | | | llvm-svn: 89331
* Sketch .td file and build system goop for OptTable based clang-cc options.Daniel Dunbar2009-11-196-1/+115
| | | | llvm-svn: 89330
* Factor out OptTable::ParseArgs, for parsing an entire argument vector.Daniel Dunbar2009-11-193-29/+68
| | | | llvm-svn: 89327
* CMake goop to create clang++ symlinkDouglas Gregor2009-11-191-0/+10
| | | | llvm-svn: 89320
* clang-cc: Remove some more llvm::cl::init arguments, by only setting values whenDaniel Dunbar2009-11-193-20/+24
| | | | | | | | the argument is given. Also, tweak Opt.Sysroot defaulting. llvm-svn: 89318
* Change -code-completion-debug-printer to -no-code-completion-debug-printer.Daniel Dunbar2009-11-193-14/+13
| | | | | | Also, tweak a few help strings and update CompilerInvocation serialization for prev change. llvm-svn: 89317
* Switch -f{builtin,math-errno,rtti} and -analyzer-purge-dead to -...no... ↵Daniel Dunbar2009-11-198-26/+21
| | | | | | variants instead of using llvm::cl::init(true) arguments. llvm-svn: 89315
* clang-cc: Remove superfluous llvm::cl::init(false) arguments.Daniel Dunbar2009-11-191-14/+7
| | | | llvm-svn: 89314
* Driver: ArgList doesn't depend on Options.h anymore.Daniel Dunbar2009-11-196-4/+5
| | | | llvm-svn: 89313
* Driver: Take option ID for {Input,Unknown}Option, to drop dependency on ↵Daniel Dunbar2009-11-193-11/+10
| | | | | | actual options. llvm-svn: 89312
* Driver: Introduce OptSpecifier class for protecting access to an option id.Daniel Dunbar2009-11-198-88/+116
| | | | llvm-svn: 89310
* Refine vtable, rtti and rtti name instantiation so that they followMike Stump2009-11-191-24/+78
| | | | | | | | | | | the key function. All the code is wired up, but won't work yet, as I had to turn off key function calculation as it doesn't work yet. Also, we refine visibility of the vtable, rtti and rtti name to match the class, as well as as arrange for all the symbols to be internal for anonymous namespace entities. llvm-svn: 89309
* Driver: Switch to using explicit {getLast,has}ArgNoClaim functions instead ↵Daniel Dunbar2009-11-195-29/+39
| | | | | | | | of taking a Claim argument. - Most driver code always claims, and bool arguments don't play nice with the overloads. llvm-svn: 89308
* This doesn't work yet.Mike Stump2009-11-191-0/+5
| | | | llvm-svn: 89307
* Driver: Resolve inconsistency in matching options against options which areDaniel Dunbar2009-11-192-7/+6
| | | | | | aliases -- just treat this case as an (unchecked) client error. llvm-svn: 89306
* Use Option::matches instead of direct ID comparison.Daniel Dunbar2009-11-193-13/+13
| | | | llvm-svn: 89305
OpenPOWER on IntegriCloud