- Jul 11, 2012
-
-
Axel Naumann authored
llvm-svn: 160041
-
- Jul 10, 2012
-
-
Axel Naumann authored
Implement UniqueFileContainer::erase(), camelCase, add comment on future optimizations of the cache versus de-optimizations of invalidations. llvm-svn: 159997
-
Richard Trieu authored
back to regular type printing. llvm-svn: 159976
-
- Jul 07, 2012
-
-
Benjamin Kramer authored
For some reason GCC decided to call the feature rdrnd instead of rdrand, which requires translating it for LLVM. llvm-svn: 159897
-
- Jul 06, 2012
-
-
Benjamin Kramer authored
llvm-svn: 159829
-
- Jul 05, 2012
-
-
Simon Atanasyan authored
if -mdsp or -mdspr2 options are provided. llvm-svn: 159774
-
Simon Atanasyan authored
llvm-svn: 159769
-
Simon Atanasyan authored
llvm-svn: 159753
-
Simon Atanasyan authored
llvm-svn: 159752
-
Simon Atanasyan authored
llvm-svn: 159747
-
- Jul 04, 2012
-
-
David Chisnall authored
llvm-svn: 159708
-
- Jul 03, 2012
-
-
David Chisnall authored
runtime to gnustep from gnu. Fix EH for the GCC runtime. llvm-svn: 159684
-
Hal Finkel authored
Patch by Andy Gibbs. llvm-svn: 159665
-
Nico Weber authored
llvm-svn: 159634
-
James Dennett authored
llvm-svn: 159628
-
- Jun 29, 2012
-
-
Richard Trieu authored
is selected. This will allow more flexibility when converting diagnostics to use template type diffing. Also updated the internal manual and test cases for correctly keeping the bold attribute and for tree printing. llvm-svn: 159463
-
- Jun 28, 2012
-
-
Simon Atanasyan authored
This patch was reviewed in the llvm-commits list by Jim Grosbach. llvm-svn: 159366
-
- Jun 27, 2012
-
-
Axel Naumann authored
llvm-svn: 159262
-
Axel Naumann authored
add interface for removing a FileEntry from the cache. Forces a re-read the contents from disk, e.g. because a tool (like cling) wants to pick up a modified file. llvm-svn: 159256
-
- Jun 26, 2012
-
-
Richard Trieu authored
comparison between two templated types when they both appear in a diagnostic. Type elision will remove indentical template arguments, which can be disabled with -fno-elide-type. Cyan highlighting is applied to the differing types. For more formatting, -fdiagnostic-show-template-tree will output the template type as an indented text tree, with differences appearing inline. Template tree works with or without type elision. llvm-svn: 159216
-
- Jun 21, 2012
-
-
Chandler Carruth authored
express library-level dependencies within Clang. This is no more verbose really, and plays nicer with the rest of the CMake facilities. It should also have no change in functionality. llvm-svn: 158888
-
- Jun 20, 2012
-
-
John McCall authored
places. I've turned this off for the GNU runtimes --- I don't know if they support weak class import, but it's easy enough for them to opt in. Also tweak a comment per review by Jordan. llvm-svn: 158860
-
John McCall authored
target Objective-C runtime down to the frontend: break this down into a single target runtime kind and version, and compute all the relevant information from that. This makes it relatively painless to add support for new runtimes to the compiler. Make the new -cc1 flag, -fobjc-runtime=blah-x.y.z, available at the driver level as a better and more general alternative to -fgnu-runtime and -fnext-runtime. This new concept of an Objective-C runtime also encompasses what we were previously separating out as the "Objective-C ABI", so fragile vs. non-fragile runtimes are now really modelled as different kinds of runtime, paving the way for better overall differentiation. As a sort of special case, continue to accept the -cc1 flag -fobjc-runtime-has-weak, as a sop to PLCompatibilityWeak. I won't go so far as to say "no functionality change", even ignoring the new driver flag, but subtle changes in driver semantics are almost certainly not intended. llvm-svn: 158793
-
- Jun 19, 2012
-
-
Meador Inge authored
r158085 added some logic to track predefined declarations. The main reason we had predefined declarations in the input was because the __builtin_va_list declarations were injected into the preprocessor input. As of r158592 we explicitly build the __builtin_va_list declarations. Therefore the predefined decl tracking is no longer needed. llvm-svn: 158732
-
Jordan Rose authored
It turns out SourceManager treating the "one-past-the-end" location as invalid, but then failing to set the invalid flag properly. llvm-svn: 158699
-
- Jun 17, 2012
-
-
James Dennett authored
llvm-svn: 158614
-
- Jun 16, 2012
-
-
NAKAMURA Takumi authored
clang/lib/Basic/FileManager.cpp: Detect the root directory with PathV2. It should be better fix for PR10331, or, "clang X:\foo.c" fails. llvm-svn: 158596
-
Meador Inge authored
The target specific __builtin_va_list types are now explicitly built instead of injecting strings into the preprocessor input. llvm-svn: 158592
-
- Jun 15, 2012
-
-
James Dennett authored
broken duplicates of comments that are in the corresponding header files. llvm-svn: 158550
-
James Dennett authored
llvm-svn: 158549
-
James Dennett authored
llvm-svn: 158548
-
- Jun 12, 2012
-
-
Hal Finkel authored
This functionality is based on what is done on ARM, and enables selecting PPC CPUs in a way compatible with gcc's driver. Also, mirroring gcc (and what is done on x86), -mcpu=native support was added. This uses the host cpu detection from LLVM (which will also soon be updated by refactoring code currently in backend). In order for this to work, the target needs a list of valid CPUs -- we now accept all CPUs accepted by LLVM. A few preprocessor defines for common CPU types have been added. llvm-svn: 158334
-
- Jun 10, 2012
-
-
Craig Topper authored
llvm-svn: 158284
-
- Jun 08, 2012
-
-
Douglas Gregor authored
from Tom Honermann! llvm-svn: 158211
-
- Jun 06, 2012
-
-
Jordan Rose authored
In standard C since C89, a 'translation-unit' is syntactically defined to have at least one "external-declaration", which is either a decl or a function definition. In Clang the latter gives us a declaration as well. The tricky bit about this warning is that our predefines can contain external declarations (__builtin_va_list and the 128-bit integer types). Therefore our AST parser now makes sure we have at least one declaration that doesn't come from the predefines buffer. Also, remove bogus warning about empty source files. This doesn't catch source files that only contain comments, and never fired anyway because of our predefines. PR12665 and <rdar://problem/9165548> llvm-svn: 158085
-
- Jun 05, 2012
-
-
Simon Atanasyan authored
when single float ABI is selected. llvm-svn: 157996
-
- Jun 04, 2012
-
-
Craig Topper authored
llvm-svn: 157907
-
- Jun 03, 2012
-
-
Craig Topper authored
llvm-svn: 157906
-
Craig Topper authored
llvm-svn: 157904
-
- May 31, 2012
-
-
Craig Topper authored
llvm-svn: 157733
-