- Nov 05, 2012
-
-
Douglas Gregor authored
llvm-svn: 167399
-
rdar://problem/12552716Douglas Gregor authored
While we're here, extend the module map to cover most of the newly-added instrinsic headers. Only wmmintrin.h is missing, because it needs to be split into AES/PCLMUL subheaders (as a separate commit). llvm-svn: 167398
-
Douglas Gregor authored
header-search options into the module hash. We're just using ADT/Hashing.hpp for this, which isn't as cryptographically strong as I'd like, but it'll do. If someone contributes (say) and MD4 implementation, we'd happily switch to that. llvm-svn: 167397
-
Ulrich Weigand authored
zero-extended to 64 bits. This information is currently provided to the back end by setting "signext" or "zeroext" attributes. However, this is done only for integer types *smaller* than i32, not for i32 itself. This causes clang to generate code violating the ABI, which results in a failure of the tramp3d-v4 test case (due to calling a system library routine without ABI-required extension). This patch implements custom versions of classifyArgumentType and classifyReturnType for PPC64_SVR4_ABIInfo, which are the same as the default versions except that they also classify "int" and "unsigned int" as types needing extending. This fixed tramp3d-v4 on PowerPC64. llvm-svn: 167393
-
Jordan Rose authored
As Anna pointed out, ProgramStateTrait.h is a relatively obscure header, and checker writers may not know to look there to add their own custom state. The base macro that specializes the template remains in ProgramStateTrait.h (REGISTER_TRAIT_WITH_PROGRAMSTATE), which allows the analyzer core to keep using it. llvm-svn: 167385
-
- Nov 04, 2012
-
-
Nick Lewycky authored
to have UsingDirectiveDecl inside anything other than those two. No user-visible functionality change. llvm-svn: 167376
-
Fariborz Jahanian authored
well as couple of tests which were not being excercised because of TYPOs. llvm-svn: 167374
-
Seth Cantrell authored
the ellipsis is shorter than the text it replaces llvm-svn: 167364
-
- Nov 03, 2012
-
-
Lang Hames authored
compound statement. llvm-svn: 167363
-
Dmitri Gribenko authored
checking against a blacklist. llvm-svn: 167362
-
Seth Cantrell authored
llvm-svn: 167361
-
Seth Cantrell authored
llvm-svn: 167360
-
Dmitri Gribenko authored
llvm-svn: 167358
-
Dmitri Gribenko authored
llvm-svn: 167357
-
NAKAMURA Takumi authored
0 (as nullptr) is incompatible to pointer in type matching on msvc. llvm-svn: 167355
-
Eli Friedman authored
caret locations and source ranges in macros. Makes ranges more accurate in some cases, and fixes an assertion failure. Fixes <rdar://problem/12472249>. llvm-svn: 167353
-
Anna Zaks authored
This will simplify checkers that need to register for leaks. Currently, they have to register for both: check dead and check end of path. I've modified the SymbolReaper to consider everything on the stack dead if the input StackLocationContext is 0. (This is a bit disruptive, so I'd like to flash out all the issues asap.) llvm-svn: 167352
-
Anna Zaks authored
llvm-svn: 167351
-
Anna Zaks authored
Node builders should manage the nodes, not the context. llvm-svn: 167350
-
Jordan Rose authored
llvm-svn: 167340
-
Jordan Rose authored
llvm-svn: 167339
-
Jordan Rose authored
These are CallEvent-equivalents of helpers already accessible in CheckerContext, as part of making it easier for new checkers to be written using CallEvent rather than raw CallExprs. llvm-svn: 167338
-
Jordan Rose authored
Also, Decls already carry a pointer to the ASTContext, so there's no need to pass an extra argument to the predicate. llvm-svn: 167337
-
David Blaikie authored
llvm-svn: 167336
-
- Nov 02, 2012
-
-
Fariborz Jahanian authored
mrr mode. llvm-svn: 167331
-
Argyrios Kyrtzidis authored
llvm-svn: 167325
-
DeLesley Hutchins authored
attributes are attached to function declarations nested inside a class method. llvm-svn: 167321
-
Anna Zaks authored
llvm-svn: 167316
-
David Blaikie authored
llvm-svn: 167308
-
Rafael Espindola authored
* -Bsymbolic must be added for x86 as well. * Default CPU name also set to 'core2' for x86 android. Patch by Edwin Vane. llvm-svn: 167307
-
Richard Smith authored
Add -lpthread when building with Ubsan on Linux, in preparation for making libclang-rt.ubsan pull in sanitizer_common, which in turn depends on pthreads. llvm-svn: 167305
-
Argyrios Kyrtzidis authored
is getting converted to a global PreprocessedEntityID. llvm-svn: 167280
-
Jordan Rose authored
Add FIXMEs for the traits visible from multiple translation units. Currently the macros hide their key types in an anonymous namespace. llvm-svn: 167277
-
Jordan Rose authored
Also, move the REGISTER_*_WITH_PROGRAMSTATE macros to ProgramStateTrait.h. This doesn't get rid of /all/ explicit uses of ProgramStatePartialTrait, but it does get a lot of them. llvm-svn: 167276
-
Jordan Rose authored
No functionality change. llvm-svn: 167275
-
Eli Friedman authored
llvm-svn: 167273
-
Manuel Klimek authored
Often users of the ASTMatchers want to add tasks that are done once per translation unit, for example, cleaning up caches. Combined with the interception point for the end of source file one can add to the factory creation, this covers the cases we've seen users need. llvm-svn: 167271
-
Richard Trieu authored
')', if found. Don't crash. Fixes PR11852. llvm-svn: 167268
-
Quentin Colombet authored
llvm-svn: 167266
-
- Nov 01, 2012
-
-
Richard Smith authored
llvm-svn: 167261
-