- Dec 22, 2011
-
-
Dylan Noblesmith authored
llvm-svn: 147195
-
Eli Friedman authored
llvm-svn: 147137
-
- Dec 21, 2011
-
-
Argyrios Kyrtzidis authored
llvm-svn: 147057
-
Argyrios Kyrtzidis authored
token locations as coming before the closing ')' of a function macro expansion. Include a unit test for SourceManager. llvm-svn: 147056
-
Nick Lewycky authored
actually know about the other OSes on X86-32 besides Linux... llvm-svn: 147034
-
- Dec 20, 2011
-
-
- Dec 19, 2011
-
-
Fariborz Jahanian authored
But, warn too. // rdar://10597832 llvm-svn: 146904
-
Dylan Noblesmith authored
Forming an out of bounds pointer to check if it's out of bounds was undefined behavior. llvm-svn: 146861
-
- Dec 17, 2011
-
-
Ted Kremenek authored
llvm-svn: 146836
-
Craig Topper authored
llvm-svn: 146835
-
- Dec 16, 2011
-
-
Nick Lewycky authored
This is equal to alignof(std::max_align_t) on the platform and equal to the alignment provided by malloc. (Platform owners please double-check your platform's value.) llvm-svn: 146762
-
Nick Lewycky authored
llvm-svn: 146761
-
Richard Smith authored
fails within a call to a constexpr function. Add -fconstexpr-backtrace-limit argument to driver and frontend, to control the maximum number of notes so produced (default 10). Fix APValue printing to be able to pretty-print all APValue types, and move the testing for this functionality from a unittest to a -verify test now that it's visible in clang's output. llvm-svn: 146749
-
Argyrios Kyrtzidis authored
don't try to destruct a null ContentCache. rdar://10567159 llvm-svn: 146707
-
- Dec 15, 2011
-
-
Eli Friedman authored
llvm-svn: 146631
-
- Dec 12, 2011
-
-
Tony Linthicum authored
llvm-svn: 146413
-
- Dec 10, 2011
-
-
Argyrios Kyrtzidis authored
and then continue using it. rdar://10359140. llvm-svn: 146308
-
Argyrios Kyrtzidis authored
we don't try to access beyond the buffer. llvm-svn: 146305
-
- Dec 09, 2011
-
-
Chandler Carruth authored
diagnostics. Conflating them was highly confusing and makes it harder to establish a firm layering separation between these two libraries. llvm-svn: 146207
-
Eli Friedman authored
. move compiler-rt to a separate directory so the -L argument only includes compiler-rt (thanks joerg) . build all clang subdirs . switches the Minix platform to ELF . normalizes toolchain invocation Patch by Ben Gras. llvm-svn: 146206
-
- Dec 08, 2011
-
-
Douglas Gregor authored
a modifier for a header declarartion, e.g., umbrella header "headername" Collapse the umbrella-handling code in the parser into the header-handling code, so we don't duplicate the header-search logic. llvm-svn: 146159
-
Douglas Gregor authored
header to also support umbrella directories. The umbrella directory for an umbrella header is the directory in which the umbrella header resides. No functionality change yet, but it's coming. llvm-svn: 146158
-
- Dec 05, 2011
-
-
Douglas Gregor authored
Module, and (de-)serialize this information. Semantics of inferred submodules to follow. llvm-svn: 145864
-
Douglas Gregor authored
llvm-svn: 145812
-
Douglas Gregor authored
to re-export anything that it imports. This opt-in feature makes a module behave more like a header, because it can be used to re-export the transitive closure of a (sub)module's dependencies. llvm-svn: 145811
-
- Dec 02, 2011
-
-
Douglas Gregor authored
module map. llvm-svn: 145695
-
Eric Christopher authored
and update the Sema testcase with a register that we won't hit for a while I hope. Fixes rdar://10510405 llvm-svn: 145671
-
Eli Friedman authored
When we're passing a vector with an illegal type through memory on x86-64, use byval so we're sure the backend does the right thing. Fixes va_arg with illegal vectors and an obscure ABI mismatch with __m64 vectors. llvm-svn: 145652
-
- Dec 01, 2011
-
-
Benjamin Kramer authored
llvm-svn: 145606
-
Douglas Gregor authored
library, since modules cut across all of the libraries. Rename serialization::Module to serialization::ModuleFile to side-step the annoying naming conflict. Prune a bunch of ModuleMap.h includes that are no longer needed (most files only needed the Module type). llvm-svn: 145538
-
- Nov 28, 2011
-
-
Daniel Dunbar authored
llvm-svn: 145293
-
- Nov 27, 2011
-
-
Rafael Espindola authored
* Enabling sse enables mmx. * Disabling (-mno-mmx) mmx, doesn't disable sse (we got this right already). * The order in not important. -msse -mno-mmx is the same as -mno-mmx -msse. llvm-svn: 145194
-
- Nov 23, 2011
-
-
James Molloy authored
Original behaviour of defining wchar_t as signed int has been kept for apcs-gnu as I don't have any spec for this to validate against. llvm-svn: 145102
-
- Nov 17, 2011
-
-
NAKAMURA Takumi authored
Revert r132539 for now, "My testing shows that function stat has no problem with trailing separators. (tested on Windows and Darwin)." It caused PR10331. MSVCRT stat() cannot strip trailing '/'. (can '\') llvm-svn: 144884
-
- Nov 16, 2011
-
-
Douglas Gregor authored
file in the source manager. This allows us to properly create and use modules described by module map files without umbrella headers (or with incompletely umbrella headers). More generally, we can actually build a PCH file that makes use of file -> buffer remappings, which could be useful in libclang in the future. llvm-svn: 144830
-
- Nov 15, 2011
-
-
Douglas Gregor authored
building modules. llvm-svn: 144680
-
Benjamin Kramer authored
Also add a maximum edit distance threshold, so we don't correct "-Wx" to "-W#pragma-messages". llvm-svn: 144644
-
Benjamin Kramer authored
$ clang -Wololo t.c warning: unknown warning option '-Wololo'; did you mean '-Wall'? [-Wunknown-warning-option] llvm-svn: 144591
-
- Nov 09, 2011
-
-
Douglas Gregor authored
llvm-svn: 144189
-
Argyrios Kyrtzidis authored
In certain cases ASTReader would call the normal DiagnosticsEngine API to initialize the state of diagnostic pragmas but DiagnosticsEngine would try to compare source locations leading to crash because the main FileID was not yet initialized. Yet another case of the ASTReader trying to use the normal APIs and inadvertently breaking invariants. Fix this by having the ASTReader set up the internal state directly. llvm-svn: 144153
-