summaryrefslogtreecommitdiffstats
path: root/clang/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove __INTPTR_TYPE__ as it is no longer needed by stdint.h, which usesKen Dyck2009-11-191-1/+0
| | | | | | __INTPTR_WIDTH__ instead. llvm-svn: 89340
* Objective-C code completion within properties after "setter = " orDouglas Gregor2009-11-193-33/+161
| | | | | | "getter = ", to provide suitable method names. llvm-svn: 89334
* Sketch some 'clang -cc1' support, for testing parts of CompilerInvocation.Daniel Dunbar2009-11-191-1/+0
| | | | llvm-svn: 89333
* Add missing dependency for CMake.Daniel Dunbar2009-11-191-1/+1
| | | | llvm-svn: 89332
* Sketch .td file and build system goop for OptTable based clang-cc options.Daniel Dunbar2009-11-192-0/+44
| | | | llvm-svn: 89330
* Factor out OptTable::ParseArgs, for parsing an entire argument vector.Daniel Dunbar2009-11-192-28/+46
| | | | llvm-svn: 89327
* clang-cc: Remove some more llvm::cl::init arguments, by only setting values whenDaniel Dunbar2009-11-191-1/+1
| | | | | | | | 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-191-6/+6
| | | | | | 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-191-6/+5
| | | | | | variants instead of using llvm::cl::init(true) arguments. llvm-svn: 89315
* Driver: ArgList doesn't depend on Options.h anymore.Daniel Dunbar2009-11-194-2/+5
| | | | llvm-svn: 89313
* Driver: Take option ID for {Input,Unknown}Option, to drop dependency on ↵Daniel Dunbar2009-11-192-9/+8
| | | | | | actual options. llvm-svn: 89312
* Driver: Introduce OptSpecifier class for protecting access to an option id.Daniel Dunbar2009-11-194-43/+35
| | | | 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-194-21/+24
| | | | | | | | 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-191-7/+2
| | | | | | 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
* The sub-statement of a case statement is not an unevaluated context!Eli Friedman2009-11-191-10/+13
| | | | llvm-svn: 89303
* Improve code completion for Objective-C message sends, so that weDouglas Gregor2009-11-193-26/+100
| | | | | | | | | | | provide completion results before each keyword argument, e.g., [foo Method:arg WithArg1:arg1 WithArg2:arg2] We now complete before "WithArg1" and before "WithArg2", in addition to completing before "Method". llvm-svn: 89290
* Improve instantiation control for rtti data and allow key functions toMike Stump2009-11-194-31/+96
| | | | | | instantiate a class. WIP. llvm-svn: 89289
* Driver: Switch to using TableGen'erated Options.inc instead of Options.def file.Daniel Dunbar2009-11-192-2/+2
| | | | llvm-svn: 89288
* Refine linkage on thunks. WIP.Mike Stump2009-11-191-2/+1
| | | | llvm-svn: 89287
* Driver: Split OptTable out into OptTable.{h,cpp}Daniel Dunbar2009-11-195-32/+47
| | | | llvm-svn: 89283
* Improve the accuracy of code completion for the attributes of an @property ↵Douglas Gregor2009-11-191-8/+38
| | | | | | declaration, so that we don't produce completions for attributes that would conflict with already-specified attributes llvm-svn: 89281
* Improve code-completion results for the flags in an @propertyDouglas Gregor2009-11-192-7/+94
| | | | | | | | | declaration by providing patterns for "getter = <method>" and "setter = <method>". As part of this, invented a new "pattern" result kind that is merely a semantic string. The "pattern" result kind should help with other kinds of code templates. llvm-svn: 89277
* Do not enter forward class 'Protocol' in decl context.Fariborz Jahanian2009-11-181-1/+1
| | | | | | Will do it later. Fixes pr5552. llvm-svn: 89269
* Do overload resolution for compound assignment even if only the RHS is ↵Sebastian Redl2009-11-181-5/+7
| | | | | | overloadable. Compound assignment may be overloaded as a non-member, and anyway the overload resolution is necessary because it triggers implicit (used-defined) conversions. Fixes PR5512, but not really the deeper issues lurking. Those are standard defects. llvm-svn: 89268
* Rename CodeCompleteObjCProperty to something more specific. No functionality ↵Douglas Gregor2009-11-183-3/+3
| | | | | | change. llvm-svn: 89267
* Code completion after @dynamicDouglas Gregor2009-11-183-8/+15
| | | | llvm-svn: 89265
* Overhaul previous-declaration and overload checking to work on lookup resultsJohn McCall2009-11-188-314/+497
| | | | | | | rather than NamedDecl*. This is a major step towards eliminating OverloadedFunctionDecl. llvm-svn: 89263
* Code completion for Objective-C @synthesized.Douglas Gregor2009-11-183-14/+102
| | | | llvm-svn: 89259
* ignore parens surounding the type when diagnosingFariborz Jahanian2009-11-181-1/+1
| | | | | | pointer-to-member cast types used in expressions. llvm-svn: 89255
* This patch fixes a bug in misdiagnosing correctFariborz Jahanian2009-11-182-11/+6
| | | | | | use of pointer to data member. llvm-svn: 89251
* Track overriding methods when instantiating a template class. Fixes PR5550.Sebastian Redl2009-11-183-18/+25
| | | | llvm-svn: 89248
* Make MSVC happy.Daniel Dunbar2009-11-181-12/+12
| | | | llvm-svn: 89247
* Pretend destructors are const and volatile. This allows calling them with ↵Sebastian Redl2009-11-181-3/+6
| | | | | | const and/or volatile objects. Fixes PR5548. llvm-svn: 89244
* Don't generate superfluous and ambiguous built-in candidates for multi-level ↵Sebastian Redl2009-11-181-0/+12
| | | | | | array subscript and arithmetic. Fixes PR5546. llvm-svn: 89242
* Construct INTPTR_MIN, INTPTR_MAX, and UINTPTR_MAX from the exact-width limitKen Dyck2009-11-181-9/+4
| | | | | | macros corresponding to __INTPTR_WIDTH__. llvm-svn: 89239
* Define intptr_t and uintptr_t in terms of their equivalent exact-width types.Ken Dyck2009-11-181-4/+5
| | | | llvm-svn: 89237
* Driver: Rework OptTable to have no dependency on the options it manages.Daniel Dunbar2009-11-182-100/+68
| | | | llvm-svn: 89234
* Driver: Make local type name more distinct.Daniel Dunbar2009-11-181-3/+3
| | | | llvm-svn: 89233
* Driver: Store Option ID field as unsigned to drop dependency on the optionsDaniel Dunbar2009-11-182-12/+11
| | | | | | type. llvm-svn: 89232
* Predefine __INTPTR_WIDTH__ for future use in stdint.h.Ken Dyck2009-11-181-0/+1
| | | | llvm-svn: 89231
* Remove the __INTMAX_TYPE__ and __UINTMAX_TYPE__ built-in macros as they are noKen Dyck2009-11-181-2/+0
| | | | | | longer used by stdint.h. llvm-svn: 89230
* Use llvm::sys::Path to check isAbsolute, instead of hard coding. Also, ↵Daniel Dunbar2009-11-181-3/+2
| | | | | | remove random FIXME (?). llvm-svn: 89229
* Improve diagnostics and recovery when parsing @synthesized definitionsDouglas Gregor2009-11-181-2/+10
| | | | llvm-svn: 89227
* Define INTMAX_C and UINTMAX_C in terms of the corresponding exact-widthKen Dyck2009-11-181-2/+2
| | | | | | INTn_C and UINTn_C macros. llvm-svn: 89226
* Define INTMAX_MIN, INTMAX_MAX, and UINTMAX_MAX in terms of the limit macros forKen Dyck2009-11-181-3/+3
| | | | | | their corresponding exact-width type. llvm-svn: 89224
* Implement code completion for Objective-C category names in @interfaceDouglas Gregor2009-11-183-1/+81
| | | | | | and @implementation declarations. llvm-svn: 89223
* Reflow to fit 80-col.Mike Stump2009-11-181-2/+2
| | | | llvm-svn: 89222
OpenPOWER on IntegriCloud