| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
and "may-be-initialized" warnings, each controlled by different flags.
llvm-svn: 127669
|
| |
|
|
|
|
| |
and "may-be-initialized" warnings, each controlled by different flags.
llvm-svn: 127666
|
| |
|
|
| |
llvm-svn: 127657
|
| |
|
|
|
|
|
|
|
| |
cannot yet be resolved, be sure to push the new label declaration into
the right place within the identifier chain. Otherwise, name lookup in
C++ gets confused when searching for names that are lexically closer
than the label. Fixes PR9463.
llvm-svn: 127623
|
| |
|
|
| |
llvm-svn: 127603
|
| |
|
|
| |
llvm-svn: 127596
|
| |
|
|
|
|
| |
-literal to char* conversion. Make it so.
llvm-svn: 127586
|
| |
|
|
|
|
| |
noexcept specifiers, unique FunctionProtoTypes with a ContextualFoldingSet, as suggested by John McCall.
llvm-svn: 127568
|
| |
|
|
|
|
|
| |
method prototypes under the -Wduplicate-method-arg and
turn it off by default.
llvm-svn: 127552
|
| |
|
|
|
|
| |
It is only meant for the release branch.
llvm-svn: 127544
|
| |
|
|
| |
llvm-svn: 127543
|
| |
|
|
|
|
| |
It is only meant for the release branch.
llvm-svn: 127542
|
| |
|
|
| |
llvm-svn: 127541
|
| |
|
|
|
|
|
|
| |
Change the interface to expose the new information and deal with the enormous fallout.
Introduce the new ExceptionSpecificationType value EST_DynamicNone to more easily deal with empty throw specifications.
Update the tests for noexcept and fix the various bugs uncovered, such as lack of tentative parsing support.
llvm-svn: 127537
|
| |
|
|
| |
llvm-svn: 127536
|
| |
|
|
| |
llvm-svn: 127534
|
| |
|
|
|
|
| |
should be resolvable, from Faisal Vali!
llvm-svn: 127521
|
| |
|
|
|
|
|
|
| |
enumeration type to another in C, classify enumeration constants as if
they had the type of their enclosing enumeration. Fixes
<rdar://problem/9116337>.
llvm-svn: 127514
|
| |
|
|
|
|
|
| |
unless we already know that it has a definition. Fixes
PR9449/<rdar://problem/9115785>.
llvm-svn: 127512
|
| |
|
|
|
|
| |
without cl_khr_fp64, warn and cast to single precision
llvm-svn: 127476
|
| |
|
|
|
|
|
| |
extending the existing support for sizeof and alignof. Original
patch by Guy Benyei.
llvm-svn: 127475
|
| |
|
|
|
|
| |
in conversion functions.
llvm-svn: 127460
|
| |
|
|
|
|
| |
pointer instead of the other operand.
llvm-svn: 127458
|
| |
|
|
|
|
|
|
|
|
|
| |
the call to getSpellingLoc(). On 'aes.c'
in the LLVM test suite, this function was consuming 7.4% of -fsyntax-only time. This change fixes this issue
by delaying the check that the warning would be issued within a system macro by as long as possible. The
main negative of this change is now the logic for this check is done in multiple places in this function instead
of just in one place up front.
llvm-svn: 127425
|
| |
|
|
| |
llvm-svn: 127404
|
| |
|
|
| |
llvm-svn: 127401
|
| |
|
|
|
|
|
|
|
| |
DiagRuntimeBehavior, don't construct a ParentMap or CFGStmtMap.
Instead, create a small set of Stmt* -> CFGBlock* mappings during CFG construction for only the statements we care about
relating to the diagnostics we want to check for reachability.
llvm-svn: 127396
|
| |
|
|
|
|
| |
a...", it appears to cause us to reject various valid codes.
llvm-svn: 127373
|
| |
|
|
|
|
| |
list of protocols as well. // rdar://9078584
llvm-svn: 127367
|
| |
|
|
|
|
| |
to avoid a bogus warning. // rdar:// 9072298
llvm-svn: 127355
|
| |
|
|
| |
llvm-svn: 127330
|
| |
|
|
|
|
| |
K&R-style default argument promotion.
llvm-svn: 127313
|
| |
|
|
| |
llvm-svn: 127285
|
| |
|
|
|
|
| |
varienty of cases. // rdar://9092208
llvm-svn: 127257
|
| |
|
|
|
|
| |
keywords for Objective-C+ and C++0x.
llvm-svn: 127253
|
| |
|
|
|
|
| |
range for declarations using postfix types.
llvm-svn: 127251
|
| |
|
|
| |
llvm-svn: 127242
|
| |
|
|
| |
llvm-svn: 127225
|
| |
|
|
| |
llvm-svn: 127223
|
| |
|
|
|
|
|
| |
in case we want to make a world where we can check intermediate instantiations
for this kind of breadcrumb.
llvm-svn: 127221
|
| |
|
|
|
|
|
|
| |
diagnostic. Also, these attributes are commonly written with macros which we
actually pre-define, so instead of expanding the macro location, refer to the
instantiation location and name it using the macro loc.
llvm-svn: 127219
|
| |
|
|
| |
llvm-svn: 127217
|
| |
|
|
|
|
| |
dependent scope and produce an error (rather than crashing). Fixes PR8979.
llvm-svn: 127206
|
| |
|
|
|
|
|
|
| |
It will accept flexible array in union and also as the sole element of a struct/class.
Fixes rdar://9065507.
llvm-svn: 127171
|
| |
|
|
|
|
|
|
|
|
|
| |
of a C++0x inline namespace within enclosing namespaces, as noted in
C++0x [namespace.def]p8.
Fixes <rdar://problem/9006349>, a libc++ failure where Clang was
rejected an explicit specialization of std::swap (since libc++ puts it
into an inline, versioned namespace std::__1).
llvm-svn: 127162
|
| |
|
|
|
|
|
| |
dependent template specialization type, make sure to set the keyword
location. Fixes some valgrind issues introduced in r127150.
llvm-svn: 127159
|
| |
|
|
|
|
|
|
|
| |
to set the source-location information for the template arguments to
the *transformed* source-location information, not the original
source-location information. Fixes <rdar://problem/8986308> (a libc++
SFINAE issue) and the Boost.Polygon failure.
llvm-svn: 127150
|
| |
|
|
| |
llvm-svn: 127148
|
| |
|
|
| |
llvm-svn: 127134
|
| |
|
|
| |
llvm-svn: 127132
|