- Mar 05, 2012
-
-
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
llvm-svn: 152013
-
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
-
Gregory Szorc authored
llvm-svn: 152011
-
- 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
we're making. We only ignore implicit casts. Add a testcase showing that we get the right behavior with explicit casts. llvm-svn: 151994
-
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
-
Jean-Daniel Dupas authored
llvm-svn: 151978
-
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
-
Richard Smith authored
trivially-copyable. 50KiB reduction in clang binary size. llvm-svn: 151963
-
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
-
Nico Weber authored
llvm-svn: 151951
-
- 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
-
Nico Weber authored
This is consistent with -Wbool-conversion. Let me know if you prefer a different flag name. llvm-svn: 151934
-
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
-