- Jan 15, 2013
-
-
Michael J. Spencer authored
llvm-svn: 172525
-
Kostya Serebryany authored
llvm-svn: 172523
-
Dmitry Vyukov authored
llvm-svn: 172522
-
Dmitry Vyukov authored
llvm-svn: 172521
-
Dmitry Vyukov authored
llvm-svn: 172520
-
Dmitry Vyukov authored
llvm-svn: 172519
-
Dmitry Vyukov authored
llvm-svn: 172518
-
Richard Smith authored
resolving an overloaded function reference within an initializer list. Previously we would try to resolve the overloaded function reference without first stripping off the InitListExpr wrapper. llvm-svn: 172517
-
Michael J. Spencer authored
llvm-svn: 172516
-
Michael J. Spencer authored
This simplifies the usage and implementation of ELFObjectFile by using ELFType to replace: <endianness target_endianness, std::size_t max_alignment, bool is64Bits> This does complicate the base ELF types as they must now use template template parameters to partially specialize for the 32 and 64bit cases. However these are only defined once. llvm-svn: 172515
-
Richard Smith authored
llvm-svn: 172514
-
Michael J. Spencer authored
llvm-svn: 172513
-
Michael J. Spencer authored
This is based on code by Jeffrey Yasskin. It has been modified to compile with MSVC and reformated to LLVM style. llvm-svn: 172512
-
Michael J. Spencer authored
llvm-svn: 172511
-
Richard Smith authored
with function definitions. We really should remove Parser::isDeclarationAfterDeclarator entirely, since it's meaningless in C++11 (an open brace could be either a function definition or an initializer, which is what it's trying to differentiate between). The other caller of it happens to be correct right now... llvm-svn: 172510
-
Douglas Gregor authored
llvm-svn: 172509
-
Michael J. Spencer authored
Marks a decl as constexpr if the compiler supports it. llvm-svn: 172508
-
Shankar Easwaran authored
llvm-svn: 172507
-
rdar://problem/13010909Greg Clayton authored
Don't accidentally sign extend unsigned bitfields. llvm-svn: 172506
-
Jim Ingham authored
llvm-svn: 172505
-
Richard Smith authored
attributes appertain to a declaration, even though they would be much more naturally modelled as appertaining to a function type. Previously, we would try to distribute them from the declarator to the function type, then reject them for being at an incorrect location. Now, we just distribute them as far as the declarator; the existing attribute handling code can actually apply them there just fine. llvm-svn: 172504
-
Jim Ingham authored
Separated the "expr --unwind-on-error" behavior into two parts, actual errors (i.e. crashes) which continue to be controlled by the --unwind-on-error flag, and --ignore-breakpoint which separately controls behavior when a called function hits a breakpoint. For breakpoints, we don't unwind, we either stop, or ignore the breakpoint, which makes more sense. Also make both these behaviors globally settable through "settings set". Also handle the case where a breakpoint command calls code that ends up re-hitting the breakpoint. We were recursing and crashing. Now we just stop without calling the second command. <rdar://problem/12986644> <rdar://problem/9119325> llvm-svn: 172503
-
Michael J. Spencer authored
This gives an overview of the driver and explains how to add options and driver flavors. llvm-svn: 172502
-
Michael J. Spencer authored
llvm-svn: 172501
-
Argyrios Kyrtzidis authored
previously it was calling the "StringMapImpl(unsigned itemSize)" constructor. llvm-svn: 172500
-
Nadav Rotem authored
llvm-svn: 172499
-
Daniel Dunbar authored
- Also, update the LangRef documentation on module flags to match the implementation. llvm-svn: 172498
-
Chad Rosier authored
warning options to setup diagnostic state, but should not be emitting warnings as these would be rudndant with what the frontend emits. rdar://13001556 llvm-svn: 172497
-
Jack Carter authored
we need to generate a N64 compound relocation R_MIPS_GPREL_32/R_MIPS_64/R_MIPS_NONE. The bug was exposed by the SingleSourcetest case DuffsDevice.c. Contributer: Jack Carter llvm-svn: 172496
-
Nick Kledzik authored
constants and string literals which the linker should coalesce. llvm-svn: 172495
-
Jason Molenda authored
document some simple bourne shell to re-generate these from the DNBDefs.h header file in case this needs to be done again in the future. llvm-svn: 172494
-
Enrico Granata authored
Adding a test case for expression parser's support for Unicode strings. This is an expected failure for now llvm-svn: 172493
-
rdar://problem/12790664Enrico Granata authored
Single-character Unicode data formatters llvm-svn: 172492
-
Eli Bendersky authored
simply use the getParser method from MCAsmParserExtension, working through the MCAsmParser interface. There's no longer a need to overload that method to cast it to the concrete AsmParser. llvm-svn: 172491
-
Eli Bendersky authored
This finally allows AsmParser to no longer list GenericAsmParser as a friend. All member vars directly accessed by GenericAsmParser have been properly encapsulated and exposed through the MCAsmParser interface. This reduces the coupling between AsmParser and GenericAsmParser. llvm-svn: 172490
-
Jakub Staszak authored
llvm-svn: 172489
-
- Jan 14, 2013
-
-
Shuxin Yang authored
--------------------------------------------------------------------------- C_A: reassociation is allowed C_R: reciprocal of a constant C is appropriate, which means - 1/C is exact, or - reciprocal is allowed and 1/C is neither a special value nor a denormal. ----------------------------------------------------------------------------- rule1: (X/C1) / C2 => X / (C2*C1) (if C_A) => X * (1/(C2*C1)) (if C_A && C_R) rule 2: X*C1 / C2 => X * (C1/C2) if C_A rule 3: (X/Y)/Z = > X/(Y*Z) (if C_A && at least one of Y and Z is symbolic value) rule 4: Z/(X/Y) = > (Z*Y)/X (similar to rule3) rule 5: C1/(X*C2) => (C1/C2) / X (if C_A) rule 6: C1/(X/C2) => (C1*C2) / X (if C_A) rule 7: C1/(C2/X) => (C1/C2) * X (if C_A) llvm-svn: 172488
-
Dmitri Gribenko authored
[[gnu::...]] syntax Pointed out by Richard Smith on the mailing list. llvm-svn: 172487
-
Tobias Grosser authored
llvm-svn: 172486
-
Richard Smith authored
ActOnFinishFullExpr that some of its checks only apply to discarded-value expressions. This adds missing checks for unexpanded variadic template parameter packs to a handful of constructs. llvm-svn: 172485
-