- Mar 15, 2011
-
-
Ted Kremenek authored
Split warnings from -Wuninitialized-experimental into "must-be-initialized" and "may-be-initialized" warnings, each controlled by different flags. llvm-svn: 127669
-
Ted Kremenek authored
Split warnings from -Wuninitialized-experimental into "must-be-initialized" and "may-be-initialized" warnings, each controlled by different flags. llvm-svn: 127666
-
Ted Kremenek authored
llvm-svn: 127657
-
- Mar 14, 2011
-
-
Douglas Gregor authored
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
-
Sebastian Redl authored
llvm-svn: 127603
-
Sebastian Redl authored
llvm-svn: 127596
-
Douglas Gregor authored
-literal to char* conversion. Make it so. llvm-svn: 127586
-
- Mar 13, 2011
-
-
Sebastian Redl authored
Instead of storing an ASTContext* in FunctionProtoTypes with computed noexcept specifiers, unique FunctionProtoTypes with a ContextualFoldingSet, as suggested by John McCall. llvm-svn: 127568
-
- Mar 12, 2011
-
-
Fariborz Jahanian authored
method prototypes under the -Wduplicate-method-arg and turn it off by default. llvm-svn: 127552
-
Sebastian Redl authored
It is only meant for the release branch. llvm-svn: 127544
-
Sebastian Redl authored
llvm-svn: 127543
-
Sebastian Redl authored
It is only meant for the release branch. llvm-svn: 127542
-
Sebastian Redl authored
llvm-svn: 127541
-
Sebastian Redl authored
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
-
Abramo Bagnara authored
llvm-svn: 127536
-
Abramo Bagnara authored
llvm-svn: 127534
-
Douglas Gregor authored
should be resolvable, from Faisal Vali! llvm-svn: 127521
-
Douglas Gregor authored
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
-
Douglas Gregor authored
unless we already know that it has a definition. Fixes PR9449/<rdar://problem/9115785>. llvm-svn: 127512
-
- Mar 11, 2011
-
-
Peter Collingbourne authored
without cl_khr_fp64, warn and cast to single precision llvm-svn: 127476
-
Peter Collingbourne authored
extending the existing support for sizeof and alignof. Original patch by Guy Benyei. llvm-svn: 127475
-
Rafael Espindola authored
in conversion functions. llvm-svn: 127460
-
John McCall authored
pointer instead of the other operand. llvm-svn: 127458
-
- Mar 10, 2011
-
-
Ted Kremenek authored
Profiling showed that 'CheckImplicitConversions' was very slow because of 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
-
Abramo Bagnara authored
llvm-svn: 127404
-
Abramo Bagnara authored
llvm-svn: 127401
-
Ted Kremenek authored
When doing reachability analysis for warnings issued under 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
-
Daniel Dunbar authored
a...", it appears to cause us to reject various valid codes. llvm-svn: 127373
-
- Mar 09, 2011
-
-
Fariborz Jahanian authored
list of protocols as well. // rdar://9078584 llvm-svn: 127367
-
Fariborz Jahanian authored
to avoid a bogus warning. // rdar:// 9072298 llvm-svn: 127355
-
Abramo Bagnara authored
llvm-svn: 127330
-
John McCall authored
K&R-style default argument promotion. llvm-svn: 127313
-
- Mar 08, 2011
-
-
Abramo Bagnara authored
llvm-svn: 127285
-
Fariborz Jahanian authored
varienty of cases. // rdar://9092208 llvm-svn: 127257
-
Douglas Gregor authored
keywords for Objective-C+ and C++0x. llvm-svn: 127253
-
Abramo Bagnara authored
Fixed source range for StaticAssertDecl and LinkageSpecDecl. Fixed source range for declarations using postfix types. llvm-svn: 127251
-
Abramo Bagnara authored
llvm-svn: 127242
-
Abramo Bagnara authored
llvm-svn: 127225
-
John Wiegley authored
llvm-svn: 127223
-
John McCall authored
in case we want to make a world where we can check intermediate instantiations for this kind of breadcrumb. llvm-svn: 127221
-