| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
created.
llvm-svn: 165943
|
| |
|
|
|
|
|
|
| |
description. Previously, one could emulate this behavior by placing
the header in an always-unavailable submodule, but Argyrios guilted me
into expressing this idea properly.
llvm-svn: 165921
|
| |
|
|
|
|
| |
Patch by Tom Stellard.
llvm-svn: 165850
|
| |
|
|
|
|
|
| |
add more code that references SourceFile, so removing the dead store
doesn't seem appropriate for the long term.
llvm-svn: 165837
|
| |
|
|
|
|
| |
with x86/ARM architecture
llvm-svn: 165722
|
| |
|
|
|
|
| |
and Native Client
llvm-svn: 165715
|
| |
|
|
|
|
|
|
|
| |
Support the following intrinsics:
_mm_cvtph_ps, _mm256_cvtph_ps, _mm_cvtps_ph, _mm256_cvtps_ph
rdar://12407875
llvm-svn: 165685
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
AAPCS ABI Section 7.1.4 [1] specifies that va_list
should be defined as struct __va_list { void *__ap;};
And in C++, it is defined in namespace std.
[1] http://infocenter.arm.com/help/topic
/com.arm.doc.ihi0042d/IHI0042D_aapcs.pdf
Patch by Weiming Zhao.
llvm-svn: 165609
|
| |
|
|
|
|
|
|
| |
is allowed or ignored with warning. This allows for correct name mangling for x64 targets on Windows, which in turn allows for linking against the Win32 APIs.
Fixes PR13782
llvm-svn: 165015
|
| |
|
|
| |
llvm-svn: 164906
|
| |
|
|
| |
llvm-svn: 164905
|
| |
|
|
| |
llvm-svn: 164873
|
| |
|
|
|
|
|
|
|
|
|
| |
diagnostic count.
If a DiagnosticConsumer sub-class overwrites IncludeInDiagnosticCounts,
this should change diagnostic counts. However, it currently also
influences Diag.ErrorOccurred, which in turn influences the behavior of
parsing and semantic analysis (in a way that can make it crash).
llvm-svn: 164824
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
latest macro definition. Needs more work.
Summary: Passes all tests (+ the new one with code completion), but needs a thorough review in part related to modules.
Reviewers: doug.gregor
Reviewed By: alexfh
CC: cfe-commits, rsmith
Differential Revision: http://llvm-reviews.chandlerc.com/D41
llvm-svn: 164610
|
| |
|
|
|
|
| |
Just a refactoring of common infrastructure. No intended functionality change.
llvm-svn: 164443
|
| |
|
|
|
|
| |
ASan doesn't play well with -D_FORTIFY_SOURCE, which is enabled by default starting at OS X 10.7
llvm-svn: 164299
|
| |
|
|
|
|
| |
Patch by Tobias von Koch!
llvm-svn: 164176
|
| |
|
|
| |
llvm-svn: 163804
|
| |
|
|
| |
llvm-svn: 163465
|
| |
|
|
| |
llvm-svn: 163464
|
| |
|
|
|
|
|
| |
string literal, produce a diagnostic pointing at the erroneous character
range, not at the start of the literal.
llvm-svn: 163459
|
| |
|
|
|
|
| |
ifdef'ed out. This change is required to support enhancements in the LLDB data formatters
llvm-svn: 163331
|
| |
|
|
| |
llvm-svn: 163325
|
| |
|
|
| |
llvm-svn: 163221
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Most of the code guarded with ANDROIDEABI are not
ARM-specific, and having no relation with arm-eabi.
Thus, it will be more natural to call this
environment "Android" instead of "ANDROIDEABI".
Note: We are not using ANDROID because several projects
are using "-DANDROID" as the conditional compilation
flag.
llvm-svn: 163088
|
| |
|
|
|
|
| |
The patch suggested by Brad Smith.
llvm-svn: 162858
|
| |
|
|
|
|
|
| |
to define all macros for MIPS targets. Remove redundant virtual function
getArchDefines(). Two virtual functions for this task are really too much.
llvm-svn: 162853
|
| |
|
|
| |
llvm-svn: 162852
|
| |
|
|
|
|
| |
The patch suggested by Logan Chien.
llvm-svn: 162840
|
| |
|
|
|
|
| |
diagnostic before we have a source manager.
llvm-svn: 162070
|
| |
|
|
|
|
| |
current available documentation.
llvm-svn: 162065
|
| |
|
|
|
|
| |
constraints we don't recognize.
llvm-svn: 162064
|
| |
|
|
| |
llvm-svn: 161899
|
| |
|
|
|
|
| |
No functionality change.
llvm-svn: 161832
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of adding it to each individual subclass in
Targets.cpp, simply check the appropriate target
values.
Where before it was only on x86_64 and ppc64, it's now
also defined on mips64 and nvptx64.
Also add a bunch of negative tests to ensure it is *not*
defined on any other architectures while we're here.
llvm-svn: 161685
|
| |
|
|
| |
llvm-svn: 161660
|
| |
|
|
| |
llvm-svn: 161546
|
| |
|
|
|
|
| |
Contributed by Brad Smith <brad@comstyle.com>
llvm-svn: 161481
|
| |
|
|
|
|
| |
Contributed by Brad Smith <brad@comstyle.com>
llvm-svn: 161175
|
| |
|
|
|
|
|
| |
This fixes PR13502 and adds a test to keep track of which
targets support TLS and which do not.
llvm-svn: 161124
|
| |
|
|
|
|
|
|
| |
Clear the FileManager's stat cache in between running
translation units, as the stat cache loaded from a pch
is only valid for one compiler invocation.
llvm-svn: 161047
|
| |
|
|
| |
llvm-svn: 160890
|
| |
|
|
| |
llvm-svn: 160850
|
| |
|
|
| |
llvm-svn: 160663
|
| |
|
|
|
|
| |
way to disable keywords under Microsoft mode.
llvm-svn: 160612
|
| |
|
|
|
|
|
|
|
|
| |
due to
AVX). Currently, if no aligned attribute is specified the alignment of a vector is
inferred from its size. Thus, very large vectors will be over-aligned with no
benefit. Target owners should set this target max.
llvm-svn: 160209
|
| |
|
|
|
|
|
| |
multiple %diff's, only print the first tree and fallback to inline printing
for the rest of the diagnostic.
llvm-svn: 160193
|
| |
|
|
| |
llvm-svn: 160102
|
| |
|
|
| |
llvm-svn: 160096
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
diagnostics implemented -- see testcases.
I created a new TableGen file for comment diagnostics,
DiagnosticCommentKinds.td, because comment diagnostics don't logically
fit into AST diagnostics file. But I don't feel strongly about it.
This also implements support for self-closing HTML tags in comment
lexer and parser (for example, <br />).
In order to issue precise diagnostics CommentSema needs to know the
declaration the comment is attached to. There is no easy way to find a decl by
comment, so we match comments and decls in lockstep: after parsing one
declgroup we check if we have any new, not yet attached comments. If we do --
then we do the usual comment-finding process.
It is interesting that this automatically handles trailing comments.
We pick up not only comments that precede the declaration, but also
comments that *follow* the declaration -- thanks to the lookahead in
the lexer: after parsing the declgroup we've consumed the semicolon
and looked ahead through comments.
Added -Wdocumentation-html flag for semantic HTML errors to allow the user to
disable only HTML warnings (but not HTML parse errors, which we emit as
warnings in -Wdocumentation).
llvm-svn: 160078
|