| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D3272
llvm-svn: 206891
|
|
|
|
| |
llvm-svn: 206890
|
|
|
|
| |
llvm-svn: 206886
|
|
|
|
|
|
|
|
|
|
|
| |
through to the output even if the input comment comes from an untrusted source
Attribute filtering is currently based on a blacklist, which right now includes
all event handler attributes (they contain JavaScipt code). It should be
switched to a whitelist, but going over all of the HTML5 spec requires a
significant amount of time.
llvm-svn: 206882
|
|
|
|
| |
llvm-svn: 206871
|
|
|
|
|
|
| |
__stdcall is defined as __attribute__((__stdcall__)) for targeting mingw32.
llvm-svn: 206870
|
|
|
|
|
|
|
|
|
|
| |
definition below all of the header #include lines, clang edition.
If you want more details about this, you can see some of the commits to
Debug.h in LLVM recently. This is just the clang section of a cleanup
I've done for all uses of DEBUG_TYPE in LLVM.
llvm-svn: 206849
|
|
|
|
|
|
|
|
|
| |
-Wc++11-compat-deprecated-writable-strings. It's neither a C++11 compatibility
warning nor a deprecated feature, it's just ill-formed.
In passing, add that warning to -Wdeprecated, where it belongs.
llvm-svn: 206833
|
|
|
|
|
|
| |
-Wconversion and into it's own group, -Wfloating-point-conversion.
llvm-svn: 206832
|
|
|
|
|
|
| |
function parameters, and compound assignment.
llvm-svn: 206827
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This allows callers of Diags.Report() to append a value to the name of
the flag associated with the diagnostic. This is useful in cases like
the -Rpass flag, where we want the diagnostic to show the name of the
pass that matched the pattern. Instead of showing "... [-Rpass]", this
allows us to show "... [-Rpass=passname]".
Reviewers: rsmith
CC: cfe-commits
Differential Revision: http://reviews.llvm.org/D3441
llvm-svn: 206826
|
|
|
|
|
|
| |
DEBUG_TYPE to do so. LLVM's Debug.h requires this as of r206822.
llvm-svn: 206823
|
|
|
|
|
|
|
|
| |
parts of Clang. I don't really have any opinion about whether using that
macro is good or bad, but its odd that this is the only one, and Eric
seemed happy with just nuking it for now.
llvm-svn: 206806
|
|
|
|
|
|
|
| |
I'm pretty sure I was referencing destroyed temporaries here. I'm open
to suggestions on how to write this better.
llvm-svn: 206804
|
|
|
|
|
|
|
|
|
|
| |
This is for compatibility with GCC.
Reviewers: asl
Differential Revision: http://reviews.llvm.org/D3444
llvm-svn: 206791
|
|
|
|
|
|
| |
Intentionally duplicate base class definitions per test, so it's easier to copy tests while debugging failures.
llvm-svn: 206782
|
|
|
|
|
|
|
| |
objects to fund root class's instance methods.
// rdar://16650575
llvm-svn: 206781
|
|
|
|
|
|
|
|
|
| |
unavailable
If the module is unavailable because of a missing header, don't diagnose
a "module * {}" declaration for having a missing umbrella.
llvm-svn: 206776
|
|
|
|
| |
llvm-svn: 206752
|
|
|
|
|
|
| |
some builder failures.
llvm-svn: 206736
|
|
|
|
|
|
|
|
|
|
|
| |
Unlike the standard AAPCS64 ABI, variadic arguments are always passed on the
stack with the Darwin ABI, and this was not being considered when deciding
whether to expand HFA/HVA arguments in a call. An HFA argument with a "float"
base type was being expanded into separate "float" arguments, each of which
was then extended to a double, resulting in a serious mismatch from what is
expected by the va_arg implementation. <rdar://problem/15777067>
llvm-svn: 206729
|
|
|
|
| |
llvm-svn: 206728
|
|
|
|
|
|
|
|
|
| |
Implement Diagnostic::category_name() using clang_getDiagnosticCategoryText()
instead of the deprected clang_getDiagnosticCategoryName().
Preserves existing behaviour and API covered by existing tests.
llvm-svn: 206712
|
|
|
|
|
|
| |
Cleanup only.
llvm-svn: 206709
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This test didn't work as intended and was ultimately disabled some years ago in
r169458.
Indeed it's not clear if the '\n' was ever passed through to the driver
correctly given that lit would insert '&& {' at the newline.
Test rewritten to use printf/xargs to insert '\n' in a more reliable manner and
to use FileCheck for verification.
llvm-svn: 206703
|
|
|
|
|
|
|
| |
There are now only a handful of Sema tests remaining that use %clang in
SemaCXX, SemaObjC and SemaTemplate.
llvm-svn: 206688
|
|
|
|
|
|
|
| |
This tests for broad compatibility with platform SDK headers using the clang
driver and so belongs alongside the other header ingtegration tests.
llvm-svn: 206687
|
|
|
|
|
|
|
|
|
|
| |
XCode 5.1.1 has shipped with fixed SDK headers.
This reverts commit r200256.
Fixes PR18322.
llvm-svn: 206686
|
|
|
|
|
|
| |
been fixed since r206644.
llvm-svn: 206685
|
|
|
|
|
|
| |
semantics wrong.
llvm-svn: 206682
|
|
|
|
| |
llvm-svn: 206681
|
|
|
|
|
|
| |
imported from another module, emit an update record, rather than using the broken decl rewriting mechanism. If multiple modules do this, merge the definitions together, much as we would if they were separate declarations.
llvm-svn: 206680
|
|
|
|
| |
llvm-svn: 206676
|
|
|
|
|
|
|
|
| |
If a module doesn't meet a requirement, neither do its submodules. If we
don't propogate that, we might think it's an error to be missing a
header in one of those submodules.
llvm-svn: 206673
|
|
|
|
| |
llvm-svn: 206667
|
|
|
|
|
|
|
|
| |
Unless they are in submodules that aren't available anyway, due to
requirements not being met. Also, mark children as unavailable when the
parent is.
llvm-svn: 206664
|
|
|
|
| |
llvm-svn: 206661
|
|
|
|
|
|
|
|
| |
tree and using CMake
Patch by Daniel Liew <daniel.liew@imperial.ac.uk>!
llvm-svn: 206660
|
|
|
|
|
|
|
|
|
| |
Update clang to use the InstrProfReader from LLVM to read
instrumentation based profile data. This also switches us from the
naive text format to the binary format, since that's what's
implemented in the reader.
llvm-svn: 206658
|
|
|
|
| |
llvm-svn: 206657
|
|
|
|
|
|
|
| |
When transferring data from a CompilerInstance in an error path we need
to consider cases where the various fields are uninitialized.
llvm-svn: 206644
|
|
|
|
|
|
|
|
| |
This paves the way to making OnDiskHashTable work with hashes that are
not 32 bits wide and to making OnDiskHashTable work very large hash
tables. The LLVM change to use these types is upcoming.
llvm-svn: 206640
|
|
|
|
| |
llvm-svn: 206637
|
|
|
|
|
|
| |
Also, intentionally duplicate base class definitions per test, so it's easier to copy tests while debugging failures
llvm-svn: 206614
|
|
|
|
| |
llvm-svn: 206595
|
|
|
|
|
|
|
| |
This is one of those DarwinPCS differences. It'd been caught in
arguments, but not return values.
llvm-svn: 206594
|
|
|
|
|
|
| |
changes.
llvm-svn: 206590
|
|
|
|
|
|
| |
Another AAPCS bug, part of PR19432.
llvm-svn: 206580
|
|
|
|
|
|
|
| |
0x80000000 isn't representable as an int, which is the default enum
type.
llvm-svn: 206545
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The frontend option -fno-optimize-sibling-calls resolves to -cc1's
-mdisable-tail-calls, which is passed to the TargetMachine in the
backend. PassManagerBuilder was adding the -tailcallelim pass anyway.
Use a new DisableTailCalls option in PassManagerBuilder to disable tail
calls harder.
Requires the matching commit in LLVM that adds DisableTailCalls.
<rdar://problem/16050591>
llvm-svn: 206543
|