| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
some target hooks.
llvm-svn: 75895
|
|
|
|
|
|
| |
an incremental patch
llvm-svn: 75622
|
|
|
|
| |
llvm-svn: 75492
|
|
|
|
| |
llvm-svn: 75431
|
|
|
|
|
|
| |
Patch by Roman Divacky.
llvm-svn: 75003
|
|
|
|
| |
llvm-svn: 74893
|
|
|
|
| |
llvm-svn: 74805
|
|
|
|
| |
llvm-svn: 74795
|
|
|
|
|
|
|
| |
to deal with for AST pretty-printing/rewriting. Patch by Abramo
Bagnara.
llvm-svn: 74752
|
|
|
|
| |
llvm-svn: 74606
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note that I'm guessing that *BSD and Solaris do the same thing as Linux
here, but it's quite possible I'm wrong; if the following testcase
gives an error on x86-64 with gcc for any of those operating systems, please
tell me:
#include <stdint.h>
int64_t x; long x;
llvm-svn: 74583
|
|
|
|
|
|
| |
'make test' passes now.
llvm-svn: 74539
|
|
|
|
| |
llvm-svn: 74536
|
|
|
|
|
|
|
|
| |
This unifies all the targets supported by an OS into a template.
It also cleans up the differences between the darwin targets.
Also __LP64__ wasn't needed for *BSD, since x86-64 target defines it anyway.
llvm-svn: 74532
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is simple enough, but then I thought it would be nice to make PrintingPolicy
get a LangOptions so that various things can key off "bool" and "C++" independently.
This spiraled out of control. There are many fixme's, but I think things are slightly
better than they were before.
One thing that can be improved: CFG should probably have an ASTContext pointer in it,
which would simplify its clients.
llvm-svn: 74493
|
|
|
|
| |
llvm-svn: 74479
|
|
|
|
| |
llvm-svn: 74467
|
|
|
|
|
|
| |
- Patch by Jonathan Gray!
llvm-svn: 74453
|
|
|
|
| |
llvm-svn: 74414
|
|
|
|
|
|
|
|
| |
function attributes. There are predefined macros that are defined when stack
protectors are used: __SSP__=1 with -fstack-protector and __SSP_ALL__=2 with
-fstack-protector-all.
llvm-svn: 74405
|
|
|
|
| |
llvm-svn: 74224
|
|
|
|
| |
llvm-svn: 74194
|
|
|
|
| |
llvm-svn: 74083
|
|
|
|
| |
llvm-svn: 74020
|
|
|
|
|
|
| |
source locations and determine which one comes before the other, relative to the translation unit.
llvm-svn: 74014
|
|
|
|
| |
llvm-svn: 73934
|
|
|
|
|
|
| |
another place.
llvm-svn: 73931
|
|
|
|
| |
llvm-svn: 73826
|
|
|
|
|
|
| |
"file:line:column" triplet.
llvm-svn: 73823
|
|
|
|
|
|
|
| |
have target-specific builtins, and do not set the count.
Just default to 0 for these targets.
llvm-svn: 73510
|
|
|
|
|
|
|
|
|
| |
registered when PCH wasn't being used. We should always install (in BuiltinInfo)
information about target-specific builtins, but we shouldn't register any builtin
identifier infos. This fixes the build of apps that use PCH and target specific
builtins together.
llvm-svn: 73492
|
|
|
|
|
|
| |
its (possibly-remapped) diagnostics. Thanks, Chris!
llvm-svn: 73390
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement support for C++ Substitution Failure Is Not An Error
(SFINAE), which says that errors that occur during template argument
deduction do *not* produce diagnostics and do not necessarily make a
program ill-formed. Instead, template argument deduction silently
fails. This is currently implemented for template argument deduction
during matching of class template partial specializations, although
the mechanism will also apply to template argument deduction for
function templates. The scheme is simple:
- If we are in a template argument deduction context, any diagnostic
that is considered a SFINAE error (or warning) will be
suppressed. The error will be propagated up the call stack via the
normal means.
- By default, all warnings and errors are SFINAE errors. Add the
NoSFINAE class to a diagnostic in the .td file to make it a hard
error (e.g., for access-control violations).
Note that, to make this fully work, every place in Sema that emits an
error *and then immediately recovers* will need to check
Sema::isSFINAEContext() to determine whether it must immediately
return an error rather than recovering.
llvm-svn: 73332
|
|
|
|
|
|
|
|
| |
preprocessor and initialize it early in clang-cc. This
ensures that __has_builtin works in all modes, not just
when ASTContext is around.
llvm-svn: 73319
|
|
|
|
|
|
| |
fixes a layering violation in lib/Basic/Targets.cpp.
llvm-svn: 73318
|
|
|
|
|
|
|
| |
- <rdar://problem/6948443> WARNING: Linking two modules of different data
layouts!
llvm-svn: 73093
|
|
|
|
| |
llvm-svn: 73083
|
|
|
|
| |
llvm-svn: 73081
|
|
|
|
| |
llvm-svn: 73050
|
|
|
|
| |
llvm-svn: 73027
|
|
|
|
| |
llvm-svn: 72928
|
|
|
|
| |
llvm-svn: 72900
|
|
|
|
|
|
| |
this. The correct replacement for "Y" and "Yt" is "x".
llvm-svn: 72765
|
|
|
|
| |
llvm-svn: 72764
|
|
|
|
| |
llvm-svn: 72713
|
|
|
|
| |
llvm-svn: 72583
|
|
|
|
| |
llvm-svn: 72240
|
|
|
|
| |
llvm-svn: 72237
|
|
|
|
|
|
| |
- Chris, please see added FIXMEs.
llvm-svn: 72019
|
|
|
|
|
|
| |
accordingly.
llvm-svn: 71966
|