- Jan 03, 2014
-
-
Aaron Ballman authored
Refactored Builtin::Context::isPrintfLike and isScanfLike into a helper function. The implementations are identical, except for the format arguments being searched for. No functional changes intended. llvm-svn: 198446
-
Rafael Espindola authored
llvm-svn: 198439
-
Rafael Espindola authored
llvm-svn: 198430
-
Aaron Ballman authored
Fixed a FIXME; created a print method for Selectors that accepts a raw_ostream, and started using it in places it made sense. No functional changes intended, just API cleanliness. llvm-svn: 198428
-
- Jan 02, 2014
-
-
Rafael Espindola authored
llvm-svn: 198308
-
Rafael Espindola authored
No functionality change, but unblocks asserting that llvm's and clang's datalayout strings are the same. llvm-svn: 198306
-
- Dec 26, 2013
-
-
Aaron Ballman authored
Teach the diagnostics engine about the Attr type to make reporting on semantic attributes easier (and not require hard-coded strings). This requires a getSpelling() function on the Attr class, which is table-driven. Updates a handful of cases where a hard-coded string was being used to test the functionality out. Updating associated test cases for the improved quoting. llvm-svn: 198055
-
- Dec 24, 2013
-
-
Alp Toker authored
Introduce proper facilities to render token spellings using the diagnostic formatter. Replaces most of the hard-coded diagnostic messages related to expected tokens, which all shared the same semantics but had to be multiply defined due to variations in token order or quote marks. The associated parser changes are largely mechanical but they expose commonality in whole chunks of the parser that can now be factored away. This commit uses C++11 typed enums along with a speculative legacy fallback until the transition is complete. Requires corresponding changes in LLVM r197895. llvm-svn: 197972
-
- Dec 23, 2013
-
-
Alp Toker authored
A lot of callers have been using this facility incorrectly. llvm-svn: 197920
-
- Dec 19, 2013
-
-
Rafael Espindola authored
llvm-svn: 197700
-
Matt Arsenault authored
llvm-svn: 197660
-
Rafael Espindola authored
LLVM already got this right. Found on "Figure 3-1: Scalar Types" on http://sparc.com/standards/psABI3rd.pdf. llvm-svn: 197651
-
Rafael Espindola authored
Reviewed by Derek Schuff. llvm-svn: 197628
-
- Dec 18, 2013
-
-
Rafael Espindola authored
These functions now always set the same variables in the same order and they don't overlap with thep constructor. llvm-svn: 197604
-
Rafael Espindola authored
llvm-svn: 197603
-
Pekka Jaaskelainen authored
llvm-svn: 197592
-
Rafael Espindola authored
A f64 inside a struct can be 32 bit aligned on darwin. llvm-svn: 197577
-
Rafael Espindola authored
No functionality change. llvm-svn: 197548
-
Rafael Espindola authored
This has no functionality change as clang adds explicit alignment info for byval arguments. The only difference is that now the clang produced DataLayout string for AArch64 is identical to the LLVM produced one. llvm-svn: 197538
-
- Dec 17, 2013
-
-
Rafael Espindola authored
llvm-svn: 197504
-
Rafael Espindola authored
llvm-svn: 197502
-
Rafael Espindola authored
This makes it identical to the string llvm produces. llvm-svn: 197500
-
Daniel Jasper authored
Instead, mark the module as unavailable so that clang errors as soon as someone tries to build this module. This works towards the long-term goal of not stat'ing the header files at all while reading the module map and instead read them only when the module is being built (there is a corresponding FIXME in parseHeaderDecl()). However, it seems non-trivial to get there and this unblock us and moves us into the right direction. Also changed the implementation to reuse the same DiagnosticsEngine. llvm-svn: 197485
-
Rafael Espindola authored
This completes the cleanup/refactoring of DataLayout on the clang side. Next is figuring out the differences between the llvm and clang produced strings llvm-svn: 197442
-
Rafael Espindola authored
llvm-svn: 197440
-
Rafael Espindola authored
llvm-svn: 197437
-
- Dec 16, 2013
-
-
Rafael Espindola authored
I missed these in previous commits. llvm-svn: 197435
-
Rafael Espindola authored
The f80:128:128 was followed by a f80:32:32 and so never used. Looks like this was there since r91746. llvm-svn: 197433
-
Rafael Espindola authored
llvm-svn: 197430
-
Rafael Espindola authored
llvm-svn: 197429
-
Rafael Espindola authored
llvm-svn: 197427
-
Rafael Espindola authored
llvm-svn: 197422
-
Rafael Espindola authored
llvm-svn: 197421
-
Duncan P. N. Exon Smith authored
An empty string for an ASM input constraint is invalid, and will crash during clang CodeGen. Change TargetInfo::validateInputConstraint to reject an empty string. <rdar://problem/15552191> llvm-svn: 197362
-
- Dec 15, 2013
-
-
Rafael Espindola authored
This is always overwritten by the one in NaClTargetInfo. llvm-svn: 197346
-
- Dec 13, 2013
-
-
Rafael Espindola authored
llvm-svn: 197270
-
Rafael Espindola authored
llvm-svn: 197268
-
Rafael Espindola authored
They are equivalent and the size of 'a' and 's' is unused. llvm-svn: 197256
-
- Dec 09, 2013
-
-
NAKAMURA Takumi authored
[CMake] clang/lib: Satisfy dependencies to add *actually used* libraries on target_link_libraries() and LLVM_LINK_COMPONENTS. I will prune redundant dependencies later. llvm-svn: 196800
-
- Dec 08, 2013
-
-
Tim Northover authored
We already support using "r" on 64-bit values (a GPRPair is allocated), but Sema doesn't know this yet so issues a warning. This should fix it. llvm-svn: 196724
-