- Jan 18, 2012
-
-
Nick Lewycky authored
llvm-svn: 148368
-
Eli Friedman authored
Fix a couple issues where we didn't correctly delay diagnostics in PotentiallyPotentiallyEvaluated contexts. In preparation for making sizeof() PotentiallyPotentiallyEvaluated. llvm-svn: 148367
-
Fariborz Jahanian authored
llvm-svn: 148361
-
Fariborz Jahanian authored
patch (slightly revised) by Aaron Ballman. llvm-svn: 148359
-
Douglas Gregor authored
llvm-svn: 148358
-
- Jan 17, 2012
-
-
Fariborz Jahanian authored
rely on property's type for its life-time to avoid bogus warning with -Warc-unsafe-retained-assign. // rdar://10694932 llvm-svn: 148355
-
Sebastian Redl authored
llvm-svn: 148354
-
Sebastian Redl authored
Auto deduction support for std::initializer_list, including for-range support. This means you can now write: for (int i : {1, 4, 512, 23, 251}) {} llvm-svn: 148353
-
Sebastian Redl authored
llvm-svn: 148352
-
Sebastian Redl authored
There are 5 functions of this name in Sema, and 6 more static helpers in SemaTemplateDeduction.cpp. The Sema functions have jobs like "deduce for function call", "deduce for taking the address", etc. The static helpers have jobs like "deduce by comparing two types", "deduce by comparing two lists of types", "deduce by comparing two template arguments", etc. The fact that they all are called the same and only differ in two of their 6 or more arguments makes the code using them very hard to read. Here I rename the one function that concerns me most at the moment, but as a matter of cleanup, the others will eventually be renamed as well. llvm-svn: 148351
-
Sebastian Redl authored
llvm-svn: 148350
-
Sebastian Redl authored
This does not yet support CodeGen. llvm-svn: 148349
-
Sebastian Redl authored
llvm-svn: 148348
-
Anton Yartsev authored
changes i64 alignment from 64 to 32 for powerpc-darwin llvm-svn: 148345
-
Eli Friedman authored
Add __builtin_labs and __builtin_llabs, to complete the set of __builtin_*abs. Patch by Ruben Van Boxem. llvm-svn: 148340
-
Richard Smith authored
that APValue-based constant emission knows how to emit member pointers. llvm-svn: 148336
-
Eli Friedman authored
llvm-svn: 148335
-
Richard Smith authored
llvm-svn: 148333
-
Dan Gohman authored
llvm-svn: 148331
-
John McCall authored
or whatever else is required for the initialization instead of assuming it can be done with a simple store. Fixes PR11732. llvm-svn: 148325
-
Jean-Daniel Dupas authored
PR 10274: format function attribute with the NSString archetype yields no compiler warnings PR 10275: format function attribute isn't checked in Objective-C methods llvm-svn: 148324
-
Douglas Gregor authored
corresponding to TagType and ObjCInterfaceType. Previously, we would serialize the definition (if available) or the canonical declaration (if no definition was available). However, this can end up forcing the deserialization of the definition even through we might not want to yet. Instead, always serialize the canonical declaration reference in the TagType/ObjCInterfaceType entry, and as part of loading a pending definition, update the "decl" pointer within the type node to point at the definition. This is more robust in hard-to-isolate cases where the *Type gets built and filled in before we see the definition. llvm-svn: 148323
-
Fariborz Jahanian authored
objc class was not being exported to parent decl context resulting in bogus mismatch warning later on. // rdar://10655530 llvm-svn: 148320
-
Argyrios Kyrtzidis authored
llvm-svn: 148319
-
Douglas Gregor authored
generation for Objective-C; it may not be needed. llvm-svn: 148317
-
Douglas Gregor authored
a module file, be sure to also add the first (potentially canonical) declarations to the chain. This isn't guaranteed to occur because the first declaration is not listed in the stored redeclaration chain. llvm-svn: 148314
-
Douglas Gregor authored
moving it from a "special type" to a predefined declaration, as we do for id, Class, and SEL. llvm-svn: 148313
-
Hans Wennborg authored
Fixes PR9195. llvm-svn: 148300
-
David Blaikie authored
llvm-svn: 148296
-
David Blaikie authored
llvm-svn: 148294
-
David Blaikie authored
Remove unreachable code in Clang. (replace with llvm_unreachable where appropriate or when GCC requires it) llvm-svn: 148292
-
David Blaikie authored
This allows -Wswitch-enum to find switches that need updating when these enums are modified. llvm-svn: 148281
-
Argyrios Kyrtzidis authored
does not depend on Sema, it accepts an ASTContext and a Preprocessor. Step towards making clang_getCursorCompletionString not depend on Sema. llvm-svn: 148278
-
Argyrios Kyrtzidis authored
on an ASTContext. This is a step towards making clang_getCursorCompletionString not depend on Sema. llvm-svn: 148277
-
Eli Friedman authored
llvm-svn: 148276
-
Eli Friedman authored
Change the behavior of the lvalue-to-rvalue conversion for varargs in PotentiallyPotentiallyEvaluated contexts so that we model it in a sane way in most cases, and give up for the edge case which hopefully doesn't matter too much. In preparation for correctly treating sizeof() as a PotentiallyPotentiallyEvaluated context. llvm-svn: 148271
-
Nico Weber authored
Fixes PR6484. Patch from Jason Switzer! llvm-svn: 148270
-
Anna Zaks authored
for FunctionDecl::getMemoryFunctionKind(). This is a follow up on the Chris's review for r148142: We don't want to pollute FunctionDecl with an extra enum. (To make this work, added memcmp and family to the library builtins.) llvm-svn: 148267
-
Anna Zaks authored
taint propagation functions. llvm-svn: 148266
-
- Jan 16, 2012
-
-
Tanya Lattner authored
llvm-svn: 148254
-