- Jan 09, 2014
-
-
Alp Toker authored
The commit added a source location that used to be missing from the AST. llvm-svn: 198892
-
Rafael Espindola authored
I introduced this bug in 198815. Thanks for Mark Lacey for noticing. Unfortunately, I have no idea how to test this code. llvm-svn: 198891
-
Ben Langmuir authored
Preserves the setting of -fretain-comments-from-system-headers when building/saving/loading module files. This allows code completion to pick up documentation comments from system modules. llvm-svn: 198890
-
Evan Cheng authored
llvm-svn: 198889
-
Ted Kremenek authored
Fixes <rdar://problem/15596883> In ARC, __attribute__((objc_precise_lifetime)) guarantees that the object stored in it will survive to the end of the variable's formal lifetime. It is therefore useful even if it completely unused. llvm-svn: 198888
-
Aaron Ballman authored
llvm-svn: 198887
-
Rafael Espindola authored
I would not normally add tests like these, but the copy constructor is not used at all in our codebase with c++11, so having this tests might prevent breaking the c++03 build again. llvm-svn: 198886
-
Alp Toker authored
To declare or define reserved identifers is undefined behaviour in standard C++. This needs to be addressed in compiler-rt before it can be used in LLVM. See the list discussion for details. This reverts commit r198858. llvm-svn: 198885
-
Alp Toker authored
To declare or define reserved identifers is undefined behaviour in standard C++. This needs to be addressed in compiler-rt before it can be used in LLVM. See the list discussion for details. This reverts commit r198858. llvm-svn: 198884
-
Aaron Ballman authored
Removing a bit of custom parsing functionality used by the thread safety analysis APIs. Now using tablegen to determine whether an attribute's arguments should be parsed in an unevaluated context instead of relying on a separate, hard-coded list of attributes. llvm-svn: 198883
-
Jim Ingham authored
llvm-svn: 198881
-
Nadav Rotem authored
This reverts r198854. llvm-svn: 198879
-
Marshall Clow authored
Fix PR18404 - 'Bug in regex_token_iterator::operator++(int) implementation'. Enhance the tests for regex_token_iterator and regex_iterator. llvm-svn: 198878
-
Alexander Kornienko authored
Re-applied r198807, r198808 with an additional change to fix linking in configure Release+Asserts build. llvm-svn: 198875
-
Evgeniy Stepanov authored
llvm-svn: 198873
-
Rafael Espindola authored
llvm-svn: 198872
-
Daniel Jasper authored
While it is allowed to not have an @ on subsequent lines, it seems general practice to add them. If undesired, the code author can easily remove them again and clang-format won't re-add them. llvm-svn: 198871
-
Daniel Jasper authored
Before: #pragma mark Any non - hyphenated or hyphenated string(including parentheses). After: #pragma mark Any non-hyphenated or hyphenated string (including parentheses). llvm-svn: 198870
-
Daniel Jasper authored
- Format a braced list with one element per line if it has nested braced lists. - Use a column layout only when the list has 6+ elements (instead of the current 4+ elements). llvm-svn: 198869
-
Pekka Jaaskelainen authored
from the global address space (6.5.1 of the OpenCL 1.2 specification). This makes clang construct the image arguments in the global address space and generate the argument metadata with the correct address space descriptor. Patch by Pedro Ferreira! llvm-svn: 198868
-
NAKAMURA Takumi authored
check-clang: Add dependencies to PrintFunctionNames and SampleAnalyzerPlugin, for r198747 and r198820. llvm-svn: 198867
-
NAKAMURA Takumi authored
It caused undefined behavior. DwarfTypeUnit::Ty might not be initialized properly, I guess. llvm-svn: 198865
-
Stepan Dyatkovskiy authored
Detailed description is here: http://llvm.org/bugs/show_bug.cgi?id=18000#c16 For participation in bugfix process special thanks to David Wiberg. llvm-svn: 198863
-
Richard Sandiford authored
The zext handling added in r197802 wasn't right for RNSBG. This patch restricts it to ROSBG, RXSBG and RISBG. (The tests for RISBG were added in r197802 since RISBG was the motivating example.) llvm-svn: 198862
-
Richard Sandiford authored
At the moment we expect rotates to have the form: (or (shl X, Y), (shr X, Z)) where Y == bitsize(X) - Z or Z == bitsize(X) - Y. This form means that the (or ...) is undefined for Y == 0 or Z == 0. This undefinedness can be avoided by using Y == (C * bitsize(X) - Z) & (bitsize(X) - 1) or Z == (C * bitsize(X) - Y) & (bitsize(X) - 1) for any integer C (including 0, the most natural choice). llvm-svn: 198861
-
Richard Sandiford authored
InstCombine converts (sub 32, (add X, C)) into (sub 32-C, X), so a rotate left of a 32-bit Y by X+C could appear as either: (or (shl Y, (add X, C)), (shr Y, (sub 32, (add X, C)))) without InstCombine or: (or (shl Y, (add X, C)), (shr Y, (sub 32-C, X))) with it. We already matched the first form. This patch handles the second too. llvm-svn: 198860
-
Tobias Grosser authored
This should fix the buildbots. llvm-svn: 198859
-
Kostya Serebryany authored
llvm-svn: 198858
-
Kostya Serebryany authored
Summary: This fixes the leak described in http://llvm.org/bugs/show_bug.cgi?id=18318 Reviewers: chandlerc, dblaikie Reviewed By: chandlerc CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2474 llvm-svn: 198857
-
Argyrios Kyrtzidis authored
rdar://15779837. llvm-svn: 198856
-
Simon Atanasyan authored
llvm-svn: 198855
-
Nadav Rotem authored
llvm-svn: 198854
-
Lang Hames authored
new in C++11. llvm-svn: 198853
-
Lang Hames authored
root path to which object files managed by the LLIObjectCache instance should be written. This option defaults to "", in which case objects are cached in the same directory as the bitcode they are derived from. The load-object-a.ll test has been rewritten to use this option to support testing in environments where the test directory is not writable. llvm-svn: 198852
-
David Blaikie authored
llvm-svn: 198851
-
David Blaikie authored
llvm-svn: 198850
-
Argyrios Kyrtzidis authored
It broke building. This reverts commit r198845. llvm-svn: 198849
-
Saleem Abdulrasool authored
Rename bytecode to opcodes to make it more clear. Change an impossible case to llvm_unreachable instead. Avoid allocation of a buffer by modifying the PrintOpcodes iteration. llvm-svn: 198848
-
Saleem Abdulrasool authored
Explicitly handle endianness to ensure that bytes are read properly on big-endian systems. llvm-svn: 198847
-
David Blaikie authored
llvm-svn: 198846
-