- Mar 03, 2012
-
-
Anna Zaks authored
llvm-svn: 151952
-
- Mar 02, 2012
-
-
Anna Zaks authored
the corresponding files to avoid confusion. This is a preparation to adding an AST-based call graph to Analysis. The existing call graph works with indexer entries. We might be able to refactor it to use the AST based graph in the future. (Minimal testing here as the only example that uses the API has been completely broken, does not compile.) llvm-svn: 151950
-
Aaron Ballman authored
llvm-svn: 151949
-
DeLesley Hutchins authored
llvm-svn: 151947
-
DeLesley Hutchins authored
GNU attributes to a better extent, by allowing them in more places on a declator. llvm-svn: 151945
-
DeLesley Hutchins authored
llvm-svn: 151944
-
Nico Weber authored
It doesn't warn if the integer is known at compile time and within the bounds of the string. Discussion: http://comments.gmane.org/gmane.comp.compilers.clang.scm/47203 llvm-svn: 151943
-
Fariborz Jahanian authored
issue the note if it is because message is sent to a forward class declaration in delayed diagnostic. // rdar://10290322 llvm-svn: 151942
-
Ted Kremenek authored
Fixes <rdar://problem/10967815> llvm-svn: 151938
-
Hal Finkel authored
ptrdiff_t on PPC32 on Linux, etc. should be int not long. This does not matter for C, but it does matter for C++ because of name mangling. The preprocessor test has been changed accordingly. llvm-svn: 151935
-
Argyrios Kyrtzidis authored
@class I; @implementation I(cat) // crashes here @end rdar://10968158 llvm-svn: 151931
-
Anna Zaks authored
command line options for inlining tuning. This adds the option for stack depth bound as well as function size bound. + minor doxygenification llvm-svn: 151930
-
Jay Foad authored
types of the pointer arguments. llvm-svn: 151927
-
Fariborz Jahanian authored
// rdar://10961370 llvm-svn: 151923
-
Daniel Dunbar authored
Revert r151879, r151880, "PR12145: Avoid emitting loads of constexpr variables in contexts where there" and "Fix buildbot: make this test less dependent on the value names in the produced IR." They broke bootstrap. llvm-svn: 151922
-
Benjamin Kramer authored
No, really, make doesn't work with spaces. llvm-svn: 151920
-
Jia Liu authored
llvm-svn: 151910
-
David Chisnall authored
Unconditionally define __C99FEATURES__ when using C++ on Solaris. This is a (hopefully temporary) work around for libc++ exposing C99-but-not-C++98 features in C++98 mode. llvm-svn: 151889
-
Richard Smith authored
early, since their values can be used in constant expressions in C++11. For odr-use checking, the opposite change is required, since references are odr-used whether or not they satisfy the requirements for appearing in a constant expression. llvm-svn: 151881
-
Richard Smith authored
is no odr-use of the variable. Go slightly beyond what the standard requires for variables of reference type. llvm-svn: 151879
-
Ted Kremenek authored
[analyzer diagnostics] Change CompactPathDiagnostic to recursively compact diagnostics in calls into macro pieces. Also fix handling of macros within calls in the HTMLDiagnostics. This also adds a test case for r151774. llvm-svn: 151872
-
Fariborz Jahanian authored
But it is in the underlying c part of clang. clang crashes in IRGen when passing an incomplete type argument to variadic function (instead of diagnosing the bug). // rdar://10961370 llvm-svn: 151862
-
Ted Kremenek authored
Teach the analyzer to just ignore CXXBindTemporaryExpr. There's nothing special to do with it, since destructors are represented explicitly in the CFG. llvm-svn: 151856
-
- Mar 01, 2012
-
-
Ted Kremenek authored
IndentifierTable::get() and into IdentifierTable's constructor. This gets a 0.7% reducing on lexing time for Cocoa.h, and about the same for PCH generation. llvm-svn: 151854
-
Eli Friedman authored
llvm-svn: 151853
-
Anna Zaks authored
Fix a test, which was most likely an unintended recursive call. llvm-svn: 151848
-
Kostya Serebryany authored
This flag enables ThreadSanitizer instrumentation committed to llvm as r150423. The patch includes one test for -fthread-sanitizer and one similar test for -faddress-sanitizer. This patch does not modify the linker flags (as we do it for -faddress-sanitizer) because the run-time library is not yet committed and it's structure in compiler-rt is not 100% clear. The users manual wil be changed in a separate commit. llvm-svn: 151846
-
Ted Kremenek authored
Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, and don't have time to push it forward in the near future. llvm-svn: 151841
-
Anna Zaks authored
attributes, introduced in r151188. + the test to catch it. Thanks to Ahmed Charles for pointing this out. llvm-svn: 151840
-
Eric Christopher authored
correctly. Still rdar://10900684 llvm-svn: 151838
-
Eli Friedman authored
llvm-svn: 151837
-
Argyrios Kyrtzidis authored
Needs llvm update. llvm-svn: 151829
-
Peter Collingbourne authored
llvm-svn: 151812
-
Jean-Daniel Dupas authored
llvm-svn: 151809
-
Richard Smith authored
llvm-svn: 151805
-
Richard Smith authored
llvm-svn: 151804
-
Aaron Ballman authored
llvm-svn: 151800
-
Aaron Ballman authored
llvm-svn: 151798
-
Eli Friedman authored
Implement "optimization" for lambda-to-block conversion which inlines the generated block literal for lambdas which are immediately converted to block pointer type. This simplifies the AST, avoids an unnecessary copy of the lambda and makes it much easier to avoid copying the result onto the heap. Note that this transformation has a substantial semantic effect outside of ARC: it gives the converted lambda lifetime semantics similar to a block literal. With ARC, the effect is much less obvious because the lifetime of blocks is already managed. llvm-svn: 151797
-
Richard Smith authored
improve the diagnostics for some attempts to use initializer lists in expressions. llvm-svn: 151794
-