- Jan 11, 2013
-
-
Jakub Staszak authored
llvm-svn: 172155
-
-
NAKAMURA Takumi authored
llvm/lib/MC/MCParser/AsmParser.cpp: [ms-inline-asm] Fix a couple of undefined behaviors. Operand->needAddressOf() is not initialized at !Operand->isReg(). llvm-svn: 172153
-
Dmitri Gribenko authored
llvm::sys::locale::columnWidth() llvm-svn: 172152
-
Jakub Staszak authored
llvm-svn: 172151
-
Richard Smith authored
external declarations with C language linkage. llvm-svn: 172150
-
Eli Bendersky authored
llvm-svn: 172149
-
Chad Rosier authored
r172121. llvm-svn: 172148
-
Anna Zaks authored
assertions. To ensure that custom assertions/conditional would also be supported, just check if the ivar that needs to be invalidated or set to nil is compared against 0. Unfortunately, this will not work for code containing 'assert(IvarName)' llvm-svn: 172147
-
Eli Bendersky authored
llvm-svn: 172146
-
Shuxin Yang authored
The root cause is mistakenly taking for granted that "dyn_cast<Instruction>(a-Value)" return a non-NULL instruction. llvm-svn: 172145
-
Fariborz Jahanian authored
storage and thus is implicitly zero-initialized, no need to do C++11 memory model. This patch unconditionally detects such condition and zeroinitializer's the variable. Patch has been commented on and OKed by Doug off-line. // rdar://12897704 llvm-svn: 172144
-
Evan Cheng authored
Value's current type. The casting is trivial even for aggregate type. llvm-svn: 172143
-
Daniel Malea authored
llvm-svn: 172142
-
Nico Weber authored
llvm-svn: 172141
-
Nico Weber authored
Objective-C method declarations look like this: - (returntype)name:(type)argname anothername:(type)arg2name; In google style, there's no space after the leading '-' but one after "(returntype)" instead (but none after the argument types), see http://google-styleguide.googlecode.com/svn/trunk/objcguide.xml#Method_Declarations_and_Definitions Not inserting the space after '-' is easy, but to insert the space after the return type, the formatter needs to know that a closing parenthesis ends the return type. To do this, I tweaked the code in parse() to check for this, which in turn required moving detection of TT_ObjCMethodSpecifier from annotate() to parse(), because parse() runs before annotate(). (To keep things interesting, the return type is optional, but it's almost always there in practice.) http://llvm-reviews.chandlerc.com/D280 llvm-svn: 172140
-
NAKAMURA Takumi authored
llvm/test/CodeGen/X86/ms-inline-asm.ll: Fixup; Globals doesn't have leading underscore in symbol on linux. llvm-svn: 172139
-
- Jan 10, 2013
-
-
rdar://problem/12914321Bob Wilson authored
This change is basically just copying changes that we've used for Apple's clang builds to the script used for building llvmCore. Besides cleaning it up to use xcrun to locate the proper versions of tools, especially for cross compiling, it fixes the build to work with newer versions of clang that honor SDKROOT settings in the environment. llvm-svn: 172138
-
Eli Bendersky authored
switch. Committed with Jim's and Chris's approval. llvm-svn: 172136
-
Anna Zaks authored
In some cases, we just pick any ivar that needs invalidation and attach the warning to it. Picking the first from DenseMap of pointer keys was triggering non-deterministic output. llvm-svn: 172134
-
Michael J. Spencer authored
With this change c++ global constructors and destructors work. llvm-svn: 172133
-
Michael J. Spencer authored
llvm-svn: 172132
-
Michael J. Spencer authored
llvm-svn: 172131
-
Michael J. Spencer authored
llvm-svn: 172130
-
Richard Smith authored
llvm-svn: 172129
-
Peter Collingbourne authored
This fixes va_start/va_copy of a va_list field which happens to not be laid out at a 16-byte boundary. Differential Revision: http://llvm-reviews.chandlerc.com/D276 llvm-svn: 172128
-
Will Dietz authored
Truncation happens regularly when find_first_not_of returns npos, strings long enough to trigger bug here are implausible. No functionality change intended (ignoring absurd string lengths). llvm-svn: 172127
-
Fariborz Jahanian authored
llvm-svn: 172126
-
Jakub Staszak authored
llvm-svn: 172125
-
Evan Cheng authored
llvm-svn: 172124
-
Jakub Staszak authored
llvm-svn: 172123
-
Chad Rosier authored
Part of rdar://12991541 llvm-svn: 172122
-
Chad Rosier authored
Part of rdar://12991541 llvm-svn: 172121
-
Chad Rosier authored
Decl is a VarDecl. Part of rdar://12991541 llvm-svn: 172120
-
rdar://problem/12725746Enrico Granata authored
Providing data formatters for char16_t* and char32_t* C++11-style Unicode strings Using this chance to refactor the UTF data reader used for data formatters for added generality Added a relevant test case llvm-svn: 172119
-
Jakub Staszak authored
llvm-svn: 172118
-
Owen Anderson authored
Teach InstCombine to hoist FABS and FNEG through FPTRUNC instructions. The application of these operations commutes with the truncation, so we should prefer to do them in the smallest size we can, to save register space, use smaller constant pool entries, etc. llvm-svn: 172117
-
Jakub Staszak authored
llvm-svn: 172115
-
Jakub Staszak authored
llvm-svn: 172114
-
Jakub Staszak authored
llvm-svn: 172112
-