- Sep 09, 2011
-
-
Argyrios Kyrtzidis authored
instead of codegen waiting to consume such a declaration, which won't happen if that decls are coming from a PCH. Fixes rdar://10028656. llvm-svn: 139359
-
Argyrios Kyrtzidis authored
in the translation unit. llvm-svn: 139358
-
Argyrios Kyrtzidis authored
llvm-svn: 139357
-
John McCall authored
llvm-svn: 139355
-
John McCall authored
converting to an arbitrary Objective-C pointer type is. Without significantly re-implementing anything, change the API to reflect this, and as a minor optimization, strip the pointer conversion off before potentially building it. Mostly, this removes a really bizarre-looking bit of code from BuildInstanceMessage. llvm-svn: 139354
-
John McCall authored
than conversions of C pointers to ObjC pointers. In order to ensure that we've caught every case, add asserts to CastExpr that strictly determine which cast kind is used for which kind of bit cast. llvm-svn: 139352
-
Richard Trieu authored
Clean up the RebuildUnknownAnyExpr visitor in SemaExpr.cpp. Mainly swapped around variable names so that this visitor be more like other visitors in clang. llvm-svn: 139351
-
Richard Trieu authored
Changed references of BaseTy, MemInitTy, CXXScopeTy, TemplateParamsTy to CXXBaseSpecifier, CXXCtorInitializer, NestedNameSpecifier, TemplateParameterList and removed their typedefs. llvm-svn: 139350
-
Richard Trieu authored
Change references to StmtTy to Stmt and removed typedefs of StmtTy. Also removed typedef of AttrTy since it is not used. llvm-svn: 139349
-
Douglas Gregor authored
indicates that a declaration is only visible within the module it is declared in. llvm-svn: 139348
-
Richard Trieu authored
llvm-svn: 139347
-
Richard Trieu authored
Capitialize paramater names in SemaExpr.cpp and resolve any parameter name conflicts between declarations and definitions from this and previous refactorings. llvm-svn: 139346
-
Douglas Gregor authored
llvm-svn: 139334
-
Eric Christopher authored
these should be in stdint.h - and they already are. Fixes rdar://10097036. llvm-svn: 139332
-
Caitlin Sadowski authored
llvm-svn: 139331
-
Matt Beaumont-Gay authored
llvm-svn: 139326
-
- Sep 08, 2011
-
-
Caitlin Sadowski authored
Thread Safety: In C++0x Mutexes are the objects that control access to shared variables, while Locks are the objects that acquire and release Mutexes. We switch to this new terminology. llvm-svn: 139321
-
Caitlin Sadowski authored
llvm-svn: 139310
-
Caitlin Sadowski authored
llvm-svn: 139308
-
Caitlin Sadowski authored
llvm-svn: 139307
-
Douglas Gregor authored
Expr::Ignore* methods that also look through implicit casts. llvm-svn: 139303
-
Caitlin Sadowski authored
This patch was written by DeLesley Hutchins. llvm-svn: 139302
-
Caitlin Sadowski authored
class scope. This patch was also written by DeLesley Hutchins. llvm-svn: 139301
-
Argyrios Kyrtzidis authored
for a builtin macro expansion. llvm-svn: 139298
-
Douglas Gregor authored
Objective-C. The @encode'ing of such an enumeration type is the same as its underlying type. <rdar://problem/5276348>. llvm-svn: 139297
-
Eric Christopher authored
llvm-svn: 139296
-
Abramo Bagnara authored
llvm-svn: 139291
-
David Blaikie authored
llvm-svn: 139282
-
Douglas Gregor authored
'id' that can be used (only!) via a contextual keyword as the result type of an Objective-C message send. 'instancetype' then gives the method a related result type, which we have already been inferring for a variety of methods (new, alloc, init, self, retain). Addresses <rdar://problem/9267640>. llvm-svn: 139275
-
Chad Rosier authored
filtered. This happenis when -save-temps is specified. <rdar://problem/10088387> llvm-svn: 139269
-
Douglas Gregor authored
keyword. We now handle this keyword in HandleIdentifier, making a note for ourselves when we've seen the __import_module__ keyword so that the next lexed token can trigger a module import (if needed). This greatly simplifies Preprocessor::Lex(), and completely erases the 5.5% -Eonly slowdown Argiris noted when I originally implemented __import_module__. Big thanks to Argiris for noting that horrible regression! llvm-svn: 139265
-
- Sep 07, 2011
-
-
Richard Trieu authored
Change diagnoseAddressOfInvalidType() to use an enum to determine what error message to display. Also, move the function call into on location instead of having it spread among many places in the if/else statements. llvm-svn: 139260
-
Douglas Gregor authored
ctor-initializer, remember to call the Sema action to generate default ctor-initializers. What a delightful little miscompile. Fixes PR10578 / <rdar://problem/9877267>. llvm-svn: 139253
-
Kaelyn Uhrain authored
llvm-svn: 139252
-
Peter Collingbourne authored
llvm-svn: 139248
-
Fariborz Jahanian authored
in GC mode. // rdar://10073896 llvm-svn: 139235
-
Chandler Carruth authored
function. This is really the beginning of the second phase of refactorings here. The end goal is to have (roughly) three interfaces: 1) Base class to format a single diagnostic suitable for display on the console. 2) Extension of the base class which also displays a caret diagnostic suitable for display on the console. 3) An adaptor that implements the DiagnosticClient by delegating to #1 and/or #2 as appropriate. Once we have these, things like libclang's formatDiagnostic can use #1 and #2 to provide really well formatted (and consistently formatted!) textual formatting of diagnostics. Getting there is going to be quite a bit of shuffling. I'm basically sketching out where the interface boundaries can be drawn for #1 and #2 within the existing classes. That lets me shuffle with a minimum of fuss and delta. Once that's done, and any of the related interfaces that need to change are updated, I'll hoist these into separate headers and re-implement libclang in terms of their interfaces. Long WIP, but comments at each step welcome. =D llvm-svn: 139228
-
Chandler Carruth authored
CaretDiagnostic. It's completely generic, with nothing to do with the diagnostic client or info APIs. llvm-svn: 139227
-
Chandler Carruth authored
llvm-svn: 139226
-
Chandler Carruth authored
llvm-svn: 139225
-