Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove __INTPTR_TYPE__ as it is no longer needed by stdint.h, which uses | Ken Dyck | 2009-11-19 | 1 | -1/+0 | |
| | | | | | | __INTPTR_WIDTH__ instead. llvm-svn: 89340 | |||||
* | Objective-C code completion within properties after "setter = " or | Douglas Gregor | 2009-11-19 | 3 | -33/+161 | |
| | | | | | | "getter = ", to provide suitable method names. llvm-svn: 89334 | |||||
* | Sketch some 'clang -cc1' support, for testing parts of CompilerInvocation. | Daniel Dunbar | 2009-11-19 | 1 | -1/+0 | |
| | | | | llvm-svn: 89333 | |||||
* | Add missing dependency for CMake. | Daniel Dunbar | 2009-11-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 89332 | |||||
* | Sketch .td file and build system goop for OptTable based clang-cc options. | Daniel Dunbar | 2009-11-19 | 2 | -0/+44 | |
| | | | | llvm-svn: 89330 | |||||
* | Factor out OptTable::ParseArgs, for parsing an entire argument vector. | Daniel Dunbar | 2009-11-19 | 2 | -28/+46 | |
| | | | | llvm-svn: 89327 | |||||
* | clang-cc: Remove some more llvm::cl::init arguments, by only setting values when | Daniel Dunbar | 2009-11-19 | 1 | -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 Dunbar | 2009-11-19 | 1 | -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 Dunbar | 2009-11-19 | 1 | -6/+5 | |
| | | | | | | variants instead of using llvm::cl::init(true) arguments. llvm-svn: 89315 | |||||
* | Driver: ArgList doesn't depend on Options.h anymore. | Daniel Dunbar | 2009-11-19 | 4 | -2/+5 | |
| | | | | llvm-svn: 89313 | |||||
* | Driver: Take option ID for {Input,Unknown}Option, to drop dependency on ↵ | Daniel Dunbar | 2009-11-19 | 2 | -9/+8 | |
| | | | | | | actual options. llvm-svn: 89312 | |||||
* | Driver: Introduce OptSpecifier class for protecting access to an option id. | Daniel Dunbar | 2009-11-19 | 4 | -43/+35 | |
| | | | | llvm-svn: 89310 | |||||
* | Refine vtable, rtti and rtti name instantiation so that they follow | Mike Stump | 2009-11-19 | 1 | -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 Dunbar | 2009-11-19 | 4 | -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 Stump | 2009-11-19 | 1 | -0/+5 | |
| | | | | llvm-svn: 89307 | |||||
* | Driver: Resolve inconsistency in matching options against options which are | Daniel Dunbar | 2009-11-19 | 1 | -7/+2 | |
| | | | | | | aliases -- just treat this case as an (unchecked) client error. llvm-svn: 89306 | |||||
* | Use Option::matches instead of direct ID comparison. | Daniel Dunbar | 2009-11-19 | 3 | -13/+13 | |
| | | | | llvm-svn: 89305 | |||||
* | The sub-statement of a case statement is not an unevaluated context! | Eli Friedman | 2009-11-19 | 1 | -10/+13 | |
| | | | | llvm-svn: 89303 | |||||
* | Improve code completion for Objective-C message sends, so that we | Douglas Gregor | 2009-11-19 | 3 | -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 to | Mike Stump | 2009-11-19 | 4 | -31/+96 | |
| | | | | | | instantiate a class. WIP. llvm-svn: 89289 | |||||
* | Driver: Switch to using TableGen'erated Options.inc instead of Options.def file. | Daniel Dunbar | 2009-11-19 | 2 | -2/+2 | |
| | | | | llvm-svn: 89288 | |||||
* | Refine linkage on thunks. WIP. | Mike Stump | 2009-11-19 | 1 | -2/+1 | |
| | | | | llvm-svn: 89287 | |||||
* | Driver: Split OptTable out into OptTable.{h,cpp} | Daniel Dunbar | 2009-11-19 | 5 | -32/+47 | |
| | | | | llvm-svn: 89283 | |||||
* | Improve the accuracy of code completion for the attributes of an @property ↵ | Douglas Gregor | 2009-11-19 | 1 | -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 @property | Douglas Gregor | 2009-11-19 | 2 | -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 Jahanian | 2009-11-18 | 1 | -1/+1 | |
| | | | | | | Will do it later. Fixes pr5552. llvm-svn: 89269 | |||||
* | Do overload resolution for compound assignment even if only the RHS is ↵ | Sebastian Redl | 2009-11-18 | 1 | -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 Gregor | 2009-11-18 | 3 | -3/+3 | |
| | | | | | | change. llvm-svn: 89267 | |||||
* | Code completion after @dynamic | Douglas Gregor | 2009-11-18 | 3 | -8/+15 | |
| | | | | llvm-svn: 89265 | |||||
* | Overhaul previous-declaration and overload checking to work on lookup results | John McCall | 2009-11-18 | 8 | -314/+497 | |
| | | | | | | | rather than NamedDecl*. This is a major step towards eliminating OverloadedFunctionDecl. llvm-svn: 89263 | |||||
* | Code completion for Objective-C @synthesized. | Douglas Gregor | 2009-11-18 | 3 | -14/+102 | |
| | | | | llvm-svn: 89259 | |||||
* | ignore parens surounding the type when diagnosing | Fariborz Jahanian | 2009-11-18 | 1 | -1/+1 | |
| | | | | | | pointer-to-member cast types used in expressions. llvm-svn: 89255 | |||||
* | This patch fixes a bug in misdiagnosing correct | Fariborz Jahanian | 2009-11-18 | 2 | -11/+6 | |
| | | | | | | use of pointer to data member. llvm-svn: 89251 | |||||
* | Track overriding methods when instantiating a template class. Fixes PR5550. | Sebastian Redl | 2009-11-18 | 3 | -18/+25 | |
| | | | | llvm-svn: 89248 | |||||
* | Make MSVC happy. | Daniel Dunbar | 2009-11-18 | 1 | -12/+12 | |
| | | | | llvm-svn: 89247 | |||||
* | Pretend destructors are const and volatile. This allows calling them with ↵ | Sebastian Redl | 2009-11-18 | 1 | -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 Redl | 2009-11-18 | 1 | -0/+12 | |
| | | | | | | array subscript and arithmetic. Fixes PR5546. llvm-svn: 89242 | |||||
* | Construct INTPTR_MIN, INTPTR_MAX, and UINTPTR_MAX from the exact-width limit | Ken Dyck | 2009-11-18 | 1 | -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 Dyck | 2009-11-18 | 1 | -4/+5 | |
| | | | | llvm-svn: 89237 | |||||
* | Driver: Rework OptTable to have no dependency on the options it manages. | Daniel Dunbar | 2009-11-18 | 2 | -100/+68 | |
| | | | | llvm-svn: 89234 | |||||
* | Driver: Make local type name more distinct. | Daniel Dunbar | 2009-11-18 | 1 | -3/+3 | |
| | | | | llvm-svn: 89233 | |||||
* | Driver: Store Option ID field as unsigned to drop dependency on the options | Daniel Dunbar | 2009-11-18 | 2 | -12/+11 | |
| | | | | | | type. llvm-svn: 89232 | |||||
* | Predefine __INTPTR_WIDTH__ for future use in stdint.h. | Ken Dyck | 2009-11-18 | 1 | -0/+1 | |
| | | | | llvm-svn: 89231 | |||||
* | Remove the __INTMAX_TYPE__ and __UINTMAX_TYPE__ built-in macros as they are no | Ken Dyck | 2009-11-18 | 1 | -2/+0 | |
| | | | | | | longer used by stdint.h. llvm-svn: 89230 | |||||
* | Use llvm::sys::Path to check isAbsolute, instead of hard coding. Also, ↵ | Daniel Dunbar | 2009-11-18 | 1 | -3/+2 | |
| | | | | | | remove random FIXME (?). llvm-svn: 89229 | |||||
* | Improve diagnostics and recovery when parsing @synthesized definitions | Douglas Gregor | 2009-11-18 | 1 | -2/+10 | |
| | | | | llvm-svn: 89227 | |||||
* | Define INTMAX_C and UINTMAX_C in terms of the corresponding exact-width | Ken Dyck | 2009-11-18 | 1 | -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 for | Ken Dyck | 2009-11-18 | 1 | -3/+3 | |
| | | | | | | their corresponding exact-width type. llvm-svn: 89224 | |||||
* | Implement code completion for Objective-C category names in @interface | Douglas Gregor | 2009-11-18 | 3 | -1/+81 | |
| | | | | | | and @implementation declarations. llvm-svn: 89223 | |||||
* | Reflow to fit 80-col. | Mike Stump | 2009-11-18 | 1 | -2/+2 | |
| | | | | llvm-svn: 89222 |