- Feb 19, 2013
-
-
Aaron Ballman authored
Fixing a typo where FixIts was accidentally self-assigning instead of assigning in the parameter Fixits. This fixes several failed assertions with MSVC debug builds. llvm-svn: 175483
-
Chandler Carruth authored
fields were only ever set in the constructor. The create method retains its consistent interface so that these bits can be re-threaded through the emitter if they're ever needed. This was found by the -Wunused-private-field Clang warning. llvm-svn: 175482
-
Chandler Carruth authored
const U *>>. Even in C++11 it doesn't seem this is valid as vector's emplace support requires move assignment, and there is no way to move assign a reference. The real motivation however is that this fixes the build of lld with libstdc++ 4.6. llvm-svn: 175481
-
John McCall authored
We treat this as an alternative to -fvisibility=<?> which changes the default value visibility to "hidden" and the default type visibility to "default". Expose a -cc1 option for changing the default type visibility, repurposing -fvisibility as the default value visibility option (also setting type visibility from it in the absence of a specific option). rdar://13079314 llvm-svn: 175480
-
John McCall authored
not the global visibility mode. Noticed by inspection. llvm-svn: 175479
-
Enrico Granata authored
llvm-svn: 175478
-
Bill Wendling authored
llvm-svn: 175477
-
Bill Wendling authored
llvm-svn: 175476
-
Enrico Granata authored
llvm-svn: 175475
-
Reed Kotler authored
llvm-svn: 175474
-
Jakub Staszak authored
llvm-svn: 175472
-
Bill Wendling authored
llvm-svn: 175471
-
Bill Wendling authored
llvm-svn: 175470
-
Bill Wendling authored
llvm-svn: 175469
-
rdar://problem/12529957Enrico Granata authored
Synthetic children provider for NSSet llvm-svn: 175468
-
NAKAMURA Takumi authored
llvm-svn: 175467
-
David Blaikie authored
Also removes some redundant DNI comments on function declarations already using the macro. llvm-svn: 175466
-
David Blaikie authored
Also removes some redundant DNI comments on function declarations already using the macro. llvm-svn: 175465
-
NAKAMURA Takumi authored
llvm-svn: 175464
-
Chad Rosier authored
llvm-svn: 175463
-
David Blaikie authored
The TypeLoc hierarchy used the llvm::cast machinery to perform undefined behavior by casting pointers/references to TypeLoc objects to derived types and then using the derived copy constructors (or even returning pointers to derived types that actually point to the original TypeLoc object). Some context is in this thread: http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-December/056804.html Though it's spread over a few months which can be hard to read in the mail archive. llvm-svn: 175462
-
Chad Rosier authored
llvm-svn: 175460
-
Chad Rosier authored
If the memcpy has an odd length with an alignment of 2, this would incorrectly assert on the last 1 byte copy. rdar://13202135 llvm-svn: 175459
-
Benjamin Kramer authored
llvm-svn: 175458
-
Benjamin Kramer authored
llvm-svn: 175457
-
Chad Rosier authored
llvm-svn: 175456
-
Dmitri Gribenko authored
if the nul-terminatedness property is important for clients. Also, don't return the same CXString multiple times. This did not create a correctness issue in practice because the CXString was of an CXS_Unmanaged kind, and destruction was a no-op. llvm-svn: 175455
-
David Blaikie authored
llvm-svn: 175454
-
-
Jakub Staszak authored
Also, GetElementPtrInst::getType() method returns SequentialType now, instead of PointerType. There wasn't any issue yet, so no testcase attached. llvm-svn: 175452
-
Argyrios Kyrtzidis authored
llvm-svn: 175451
-
Fariborz Jahanian authored
a small test case). // rdar://13178483. llvm-svn: 175450
-
Douglas Gregor authored
llvm-svn: 175449
-
- Feb 18, 2013
-
-
Douglas Gregor authored
llvm-svn: 175448
-
Douglas Gregor authored
This commit introduces a set of related changes to ensure that the declaration that shows up in the identifier chain after deserializing declarations with a given identifier is, in fact, the most recent declaration. The primary change involves waiting until after we deserialize and wire up redeclaration chains before updating the identifier chains. There is a minor optimization in here to avoid recursively deserializing names as part of looking to see whether top-level declarations for a given name exist. A related change that became suddenly more urgent is to property record a merged declaration when an entity first declared in the current translation unit is later deserialized from a module (that had not been loaded at the time of the original declaration). Since we key off the canonical declaration (which is parsed, not from an AST file) for emitted redeclarations, we simply record this as a merged declaration during AST writing and let the readers merge them. Re-fixes <rdar://problem/13189985>, presumably for good this time. llvm-svn: 175447
-
Vincent Lejeune authored
llvm-svn: 175446
-
Vincent Lejeune authored
NOTE: This is a candidate for the Mesa stable branch. Reviewed-by: Tom Stellard <thomas.stellard at amd.com> llvm-svn: 175445
-
Daniel Jasper authored
In builder-type calls, it can be very confusing to just indent parameters from the start of the line. Instead, indent 4 from the correct function call. Before: aaaaaaaaaaaaaaaaaaa()->aaaaaa(bbbbb)->aaaaaaaaaaaaaaaaaaa( // break aaaaaaaaaaaaaa); aaaaaaaaaaaaaaaaaaaaaaa *aaaaaaaaa = aaaaaa->aaaaaaaaaaaa()->aaaaaaaaaaaaaaaa( aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) ->aaaaaaaaaaaaaaaaa(); After: aaaaaaaaaaaaaaaaaaa()->aaaaaa(bbbbb)->aaaaaaaaaaaaaaaaaaa( // break aaaaaaaaaaaaaa); aaaaaaaaaaaaaaaaaaaaaaa *aaaaaaaaa = aaaaaa->aaaaaaaaaaaa() ->aaaaaaaaaaaaaaaa( aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) ->aaaaaaaaaaaaaaaaa(); llvm-svn: 175444 -
Vincent Lejeune authored
Reviewed-by: Tom Stellard <thomas.stellard at amd.com> llvm-svn: 175443
-
Kostya Serebryany authored
[asan] revert r175266 as it breaks code with packed structures. supporting long double will require a more general solution llvm-svn: 175442
-