- Mar 05, 2012
-
-
Rafael Espindola authored
In the included testcase, soma thinks that we already have a definition after we see the out of line decl. Codegen puts it in a deferred list, to be output if a use is seen. This would break when we saw an explicit template instantiation definition, since codegen would not be notified. This patch adds a method to the consumer interface so that soma can notify codegen that this decl is now required. llvm-svn: 152024
-
James Molloy authored
Fix a bug in the mangler where in 'namespace std { extern "C" {X;} }', X would not be seen to be in ::std::. Migrate two other places where the same logic is used to use the helper function that already exists. llvm-svn: 152022
-
Argyrios Kyrtzidis authored
-Make sure we don't change to '__weak' a __block variable used as output. -Make sure we don't apply __weak twice. Fixes rdar://10520757&10521362 llvm-svn: 152020
-
Argyrios Kyrtzidis authored
Introduce PreprocessingRecord::rangeIntersectsConditionalDirective() which returns true if a given range intersects with a conditional directive block. llvm-svn: 152018
-
Argyrios Kyrtzidis authored
-Add location parameter for the directives callbacks -Skip callbacks if the directive is inside a skipped range. -Make sure the directive callbacks are invoked in source order. llvm-svn: 152017
-
Richard Smith authored
kinds as the underlying string literals, and we silently drop the ud-suffix; those issues will be fixed by subsequent patches. llvm-svn: 152012
-
- Mar 04, 2012
-
-
Erik Verbruggen authored
Remove a recursive visitation in ExprEngine that is no longer needed because the CFG is fully linearized. llvm-svn: 152007
-
Chandler Carruth authored
llvm-svn: 152005
-
Richard Smith authored
llvm-svn: 151997
-
Chris Lattner authored
reported by Richard Smith. llvm-svn: 151993
-
Richard Smith authored
llvm-svn: 151992
-
- Mar 03, 2012
-
-
Richard Smith authored
resolution of core issue 1454. llvm-svn: 151991
-
Benjamin Kramer authored
llvm-svn: 151989
-
Eli Friedman authored
Avoid an unnecessary recursive loop between type canonicalization and NNS canonicalization which would (rarely) lead to memory corruption. While I'm here, simplify. Fixes PR12166. Not committing a testcase because it's impossible to reduce it. llvm-svn: 151967
-
Ted Kremenek authored
[analyzer] do not warn about returning stack-allocated memory when it comes from an ancestor stack frame. llvm-svn: 151964
-
Daniel Dunbar authored
- This is a more reliable default, as it behaves better on failure and also ensures that we create *new* files (instead of reusing existing inodes). This is useful for other applications (like lldb) which want to cache inode's to know when a file has been rewritten. llvm-svn: 151961
-
Daniel Dunbar authored
Frontend: Don't automatically create missing directories when using temporary files with createOutputFile() - This would otherwise happen as a side effect of llvm::sys::fs::unique_file creating parent directories. llvm-svn: 151960
-
DeLesley Hutchins authored
llvm-svn: 151956
-
Richard Smith authored
scalar emission of DeclRefExprs to const bools: emit scalar bools as i1, not as i8. In addition to the extra unit testing, this has successfully bootstrapped. llvm-svn: 151955
-
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
-