- Jan 17, 2012
-
-
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
-
Jakob Stoklund Olesen authored
Add a trivial implementation of the getCallPreservedMask() hook. llvm-svn: 148347
-
Jakob Stoklund Olesen authored
Targets can now add CalleeSavedRegs defs to their *CallingConv.td file. TableGen will use this to create a *_SaveList array suitable for returning from getCalleeSavedRegs() as well as a *_RegMask bit mask suitable for returning from getCallPreservedMask(). llvm-svn: 148346
-
Anton Yartsev authored
changes i64 alignment from 64 to 32 for powerpc-darwin llvm-svn: 148345
-
Andrew Trick authored
llvm-svn: 148344
-
-
Jakub Staszak authored
llvm-svn: 148342
-
Jim Grosbach authored
When the non-local symbol in the expression is in the same fragment as the second symbol, the assembler can still evaluate the expression without needing a relocation. For example, on ARM: _foo: ldr lr, (_foo - 4) rdar://10348687 llvm-svn: 148341
-
Eli Friedman authored
Add __builtin_labs and __builtin_llabs, to complete the set of __builtin_*abs. Patch by Ruben Van Boxem. llvm-svn: 148340
-
Jim Grosbach authored
llvm-svn: 148339
-
Devang Patel authored
llvm-svn: 148338
-
Nadav Rotem authored
llvm-svn: 148337
-
Richard Smith authored
that APValue-based constant emission knows how to emit member pointers. llvm-svn: 148336
-
Eli Friedman authored
llvm-svn: 148335
-
Devang Patel authored
llvm-svn: 148334
-
Richard Smith authored
llvm-svn: 148333
-
Jakub Staszak authored
llvm-svn: 148332
-
Dan Gohman authored
llvm-svn: 148331
-
Dan Gohman authored
autorelease push+pop pairs. llvm-svn: 148330
-
Dan Gohman authored
EP_ModuleOptimizerEarly, to allow passes to be added before the main ModulePass optimizers. llvm-svn: 148329
-
Tobias Grosser authored
llvm-svn: 148328
-
Tobias Grosser authored
llvm-svn: 148327
-
Tobias Grosser authored
llvm-svn: 148326
-
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
-
Devang Patel authored
llvm-svn: 148322
-
Devang Patel authored
llvm-svn: 148321
-
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
-
http://llvm.org/bugs/show_bug.cgi?id=11763Kostya Serebryany authored
[asan] workaround for bug http://llvm.org/bugs/show_bug.cgi?id=11763. Do not bark on memcpy(a, a, size). llvm-svn: 148318
-
Douglas Gregor authored
generation for Objective-C; it may not be needed. llvm-svn: 148317
-
Devang Patel authored
llvm-svn: 148316
-
Eli Bendersky authored
The test passes on ARM bots llvm-svn: 148315
-