- Mar 11, 2011
-
-
Rafael Espindola authored
in conversion functions. llvm-svn: 127460
-
John McCall authored
pointer instead of the other operand. llvm-svn: 127458
-
Ken Dyck authored
avoid converting to bits and back again. No change in functionality intended. llvm-svn: 127455
-
Ken Dyck authored
parameter to tidy up the places where the expression is a size. llvm-svn: 127454
-
- Mar 10, 2011
-
-
Ted Kremenek authored
llvm-svn: 127428
-
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
-
NAKAMURA Takumi authored
lib/CodeGen/CGCall.cpp: Don't invoke multiple Builder.CreateBitCast() on Builder.CreateMemCpy. Or we would see sideeffect incompatibility among gcc and clang. llvm-svn: 127405
-
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
-
Ken Dyck authored
type. llvm-svn: 127391
-
Ken Dyck authored
llvm-svn: 127390
-
Ted Kremenek authored
Require AddStmtChoice::alwaysAdd() to take a CFGBuilder& and Stmt*. Prep for functionality changes. llvm-svn: 127387
-
Ted Kremenek authored
llvm-svn: 127386
-
Ted Kremenek authored
Rework interaction between AnalysisContext and CFG::BuildOptions to keep a BuildOptions object around instead of keeping a copy of the flags. Moreover, change AnalysisContext to use an OwningPtr for created analysis objects instead of directly managing them. Finally, add a 'forcedBlkExprs' entry to CFG::BuildOptions that will be used by the CFGBuilder to force specific expressions to be block-level expressions. llvm-svn: 127385
-
Daniel Dunbar authored
a...", it appears to cause us to reject various valid codes. llvm-svn: 127373
-
Argyrios Kyrtzidis authored
llvm-svn: 127370
-
- Mar 09, 2011
-
-
Fariborz Jahanian authored
list of protocols as well. // rdar://9078584 llvm-svn: 127367
-
Argyrios Kyrtzidis authored
llvm-svn: 127360
-
Fariborz Jahanian authored
to avoid a bogus warning. // rdar:// 9072298 llvm-svn: 127355
-
Argyrios Kyrtzidis authored
Introduce '-chain-include' option to specify headers that will be converted to chained PCHs in memory without having to use multiple runs and intermediate files. Intended for testing & debugging of chained PCH. llvm-svn: 127339
-
Douglas Gregor authored
llvm-svn: 127336
-
Abramo Bagnara authored
llvm-svn: 127330
-
NAKAMURA Takumi authored
include/clang/Basic/BuiltinsX86.def: __builtin_ia32_crc32**() should be defined to take unsigned args and to return unsigned value. mingw-w64's intrin.h declares __builtin_ia32_crc32**() as external. llvm-svn: 127329
-
Chandler Carruth authored
llvm-svn: 127327
-
NAKAMURA Takumi authored
include/clang/Makefile: [PR2928] "make install" may install include files along explicit pattern, not to install CMake's building stuff. llvm-svn: 127326
-
John McCall authored
llvm-svn: 127324
-
John McCall authored
recomputation. llvm-svn: 127322
-
John McCall authored
llvm-svn: 127319
-
Anders Carlsson authored
When deserializing CXXBaseSpecifiers (and offsets), make sure to walk the chain in the correct order. llvm-svn: 127315
-
John McCall authored
simplify the logic of initializing function parameters so that we don't need both a variable declaration and a type in FunctionArgList. This also means that we need to propagate the CGFunctionInfo down in a lot of places rather than recalculating it from the FAL. There's more we can do to eliminate redundancy here, and I've left FIXMEs behind to do it. llvm-svn: 127314
-
John McCall authored
K&R-style default argument promotion. llvm-svn: 127313
-
NAKAMURA Takumi authored
Cygwin's ctype.h says; /* These macros are intentionally written in a manner that will trigger a gcc -Wall warning if the user mistakenly passes a 'char' instead of an int containing an 'unsigned char'. (snip) */ llvm-svn: 127308
-
Ted Kremenek authored
llvm-svn: 127291
-
Argyrios Kyrtzidis authored
should report the original file name for contents of files that were overriden by other files, otherwise it should report the name of the new file. Default is true. Also add similar field in PreprocessorOptions and pass similar parameter in ASTUnit::LoadFromCommandLine. llvm-svn: 127289
-
Ted Kremenek authored
static analyzer: Fix use-after-free bug in RegionStore involving LazyCompoundValueData not reference counting Store objects. llvm-svn: 127288
-
- Mar 08, 2011
-
-
Abramo Bagnara authored
llvm-svn: 127285
-
NAKAMURA Takumi authored
llvm-svn: 127284
-
NAKAMURA Takumi authored
llvm-svn: 127283
-
Anders Carlsson authored
Make the Objective-C checker look for subclasses of NSString instead of just NSString and NSMutableString. llvm-svn: 127268
-