| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
null string / identifier.
llvm-svn: 69575
|
| |
|
|
|
|
|
| |
Warnings.cpp. Warnings.cpp now doesn't need to #include
tblgen produced output directly.
llvm-svn: 69559
|
| |
|
|
|
|
|
|
| |
Let me know if I messed up for some target. Note that for Windows, we
should be able to support it (MSVC supports "__declspec(thread)"), but
I'm pretty sure LLVM doesn't know how to generate the correct code.
llvm-svn: 69552
|
| |
|
|
|
|
| |
non-glibc ones.
llvm-svn: 69528
|
| |
|
|
|
|
|
|
|
|
| |
functions in glibc header files that use FP Stack inline asm which the
backend can't deal with (PR879).
This "fixes" PR3970 for linux. Other affected systems should do similar
things. Maybe this should just go to the general i386/x86-64 sections?
llvm-svn: 69527
|
| |
|
|
| |
llvm-svn: 69273
|
| |
|
|
| |
llvm-svn: 69272
|
| |
|
|
|
|
| |
this implements -fdiagnostics-show-option in clang-cc.
llvm-svn: 69271
|
| |
|
|
|
|
| |
it everywhere.
llvm-svn: 69269
|
| |
|
|
|
|
| |
passing down the right info yet.
llvm-svn: 69268
|
| |
|
|
|
|
|
| |
out of Warnings.cpp. This simplifies warnings.cpp and makes it more
efficient.
llvm-svn: 69266
|
| |
|
|
|
|
| |
they are supposed to be.
llvm-svn: 69265
|
| |
|
|
|
|
| |
"set to the default value".
llvm-svn: 69264
|
| |
|
|
|
|
| |
spectacularly when built for x86-64.
llvm-svn: 69197
|
| |
|
|
| |
llvm-svn: 69179
|
| |
|
|
|
|
|
| |
implicit from its parenting. Now that diag mapping is
explicit, eliminate the fatal and extwarn classes.
llvm-svn: 69177
|
| |
|
|
|
|
| |
be tied to the diag class. This requires an LLVM tree update.
llvm-svn: 69175
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with other diagnostic mapping. In the new scheme, -Wfoo or -Wno-foo or
-Werror=foo all override the -pedantic options, and __extension__
robustly silences all extension diagnostics in their scope.
An added bonus of this change is that MAP_DEFAULT goes away, meaning that
per-diagnostic mapping information can now be stored in 2 bits, doubling
the density of the Diagnostic::DiagMapping array. This also
substantially simplifies Diagnostic::getDiagnosticLevel.
OTOH, this temporarily introduces some "macro intensive" code in
Diagnostic.cpp. This will be addressed in a later patch.
llvm-svn: 69154
|
| |
|
|
| |
llvm-svn: 69055
|
| |
|
|
|
|
| |
properly cope with #line directives in PCH files.
llvm-svn: 68963
|
| |
|
|
|
|
| |
separate Internals header. No functionality change
llvm-svn: 68960
|
| |
|
|
|
|
|
|
|
|
| |
- Patch by Shantonu Sen (with a minor tweak to split out
getDarwin{OSX,IPhoneOS}Defines)!
- <rdar://problem/6776277> Need clang-cc/ccc-analyzer support for
-miphoneos-version-min
llvm-svn: 68815
|
| |
|
|
|
|
| |
-include, but that will be fixed soon.
llvm-svn: 68625
|
| |
|
|
| |
llvm-svn: 68589
|
| |
|
|
| |
llvm-svn: 68582
|
| |
|
|
|
|
| |
in C mode.
llvm-svn: 68520
|
| |
|
|
|
|
|
|
|
|
|
| |
and are even set in C mode. As such, move them to Targets.cpp.
__OBJC_GC__ is also darwin specific, but seems reasonable to always
define it when in objc-gc mode.
This fixes rdar://6761450
llvm-svn: 68494
|
| |
|
|
| |
llvm-svn: 68413
|
| |
|
|
|
|
| |
string literals.
llvm-svn: 68363
|
| |
|
|
| |
llvm-svn: 68354
|
| |
|
|
| |
llvm-svn: 68346
|
| |
|
|
|
|
|
|
|
|
| |
#ifdef'd out the 5 conversion routines that we don't currently need.
Still need a bit more work in GetAddrOfConstantCFString(). Added a FIXME to indicate this.
Expect to remove the FIXME today...
llvm-svn: 68208
|
| |
|
|
|
|
|
|
|
|
|
| |
- Notably, set section on cfstring literal string data (for now, this
is done everywhere because it matches what we were already doing
for the CFString data itself)
- <rdar://problem/6599098> [irgen] linker requires objc string data
to go into cstring
llvm-svn: 68160
|
| |
|
|
|
|
| |
by moving the general case to the generic x86-32 target.
llvm-svn: 68015
|
| |
|
|
|
|
| |
- Patch by Ed Schoeten!
llvm-svn: 67527
|
| |
|
|
|
|
|
| |
variant of DiagnosticBuilder that emits the template instantiation
backtrace when needed.
llvm-svn: 67413
|
| |
|
|
|
|
|
|
| |
where
clang was defining "i386" even when in non-gnu mode.
llvm-svn: 67378
|
| |
|
|
| |
llvm-svn: 67376
|
| |
|
|
|
|
| |
can have language-specific defines.
llvm-svn: 67375
|
| |
|
|
|
|
| |
in the tree for a day or so longer.
llvm-svn: 67346
|
| |
|
|
|
|
|
|
|
|
| |
diagnostics following those notes.
Make exceeding the template instantiation depth a fatal error.
Thanks to Daniel for pointing out the problem!
llvm-svn: 67320
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
diagnostics. This builds on the patch that Sebastian committed and
then revert. Major differences are:
- We don't remove or use the current ".def" files. Instead, for now,
we just make sure that we're building the ".inc" files.
- Fixed CMake makefiles to run TableGen and build the ".inc" files
when needed. Tested with both the Xcode and Makefile generators
provided by CMake, so it should be solid.
- Fixed normal makefiles to handle out-of-source builds that involve
the ".inc" files.
I'll send a separate patch to the list with Sebastian's changes that
eliminate the use of the .def files.
llvm-svn: 67058
|
| |
|
|
|
|
| |
and cmake builds, and I have no clue what to do about it. Revisit this after someone with a clue about the build systems has looked at it.
llvm-svn: 67009
|
| |
|
|
|
|
| |
build.
llvm-svn: 67007
|
| |
|
|
|
|
|
| |
- Notably, clang now exits with an error if it can't find a
file. This flushed out a bug in the CGColorSpace.c test case. :)
llvm-svn: 66789
|
| |
|
|
| |
llvm-svn: 66786
|
| |
|
|
|
|
|
| |
with "clang t.i s.i" where the .i files contain line markers.
rdar://6667812
llvm-svn: 66619
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to a diagnostic that will be invoked after the diagnostic (if it is
not suppressed). The hooks are allowed to produce additional
diagnostics (typically notes) that provide more information. We should
be able to use this to help diagnostic clients link notes back to the
diagnostic they clarify. Comments welcome; I'll write up documentation
and convert other clients (e.g., overload resolution failures) if
there are no screams of protest.
As the first client of post-diagnostic hooks, we now produce a
template instantiation backtrace when a failure occurs during template
instantiation. There's still more work to do to make this output
pretty, if that's even possible.
llvm-svn: 66557
|
| |
|
|
| |
llvm-svn: 66555
|
| |
|
|
| |
llvm-svn: 66522
|