- Jul 20, 2013
-
-
Rui Ueyama authored
llvm-svn: 186739
-
Eli Friedman authored
This is the same way GenericSelectionExpr works, and it's generally a more consistent approach. A large part of this patch is devoted to caching the value of the condition of a ChooseExpr; it's needed to avoid threading an ASTContext into IgnoreParens(). Fixes <rdar://problem/14438917>. llvm-svn: 186738
-
Manman Ren authored
Simplify DIxxx:Verify to not call Verify on an operand. Instead, we use DebugInfoFinder to list all MDNodes that should be a DIScope and all MDNodes that should be a DIType and we will call Verify on those lists. llvm-svn: 186737
-
Matt Arsenault authored
llvm-svn: 186736
-
Lang Hames authored
indirect branches correctly. Under some circumstances, this led to the deletion of basic blocks that were the destination of indirect branches. In that case it left indirect branches to nowhere in the code. This patch replaces, and is more general than either of the previous fixes for indirect-branch-analysis issues, r181161 and r186461. For other branches (not indirect) this refactor should have *almost* identical behavior to the previous version. There are some corner cases where this refactor is able to analyze blocks that the previous version could not (e.g. this necessitated the update to thumb2-ifcvt2.ll). <rdar://problem/14464830> llvm-svn: 186735
-
Rui Ueyama authored
The original change was rolled back in r186627 because of test failures on the big endian machine. I believe I fixed the issue so re-submitting. llvm-svn: 186734
-
Nadav Rotem authored
llvm-svn: 186733
-
Nadav Rotem authored
llvm-svn: 186732
-
Nadav Rotem authored
SLPVectorizer: Improve the compile time of isConsecutive by reordering the conditions that check GEPs and eliminate two of the calls to accumulateConstantOffset. llvm-svn: 186731
-
Larisse Voufo authored
FIXME fix: improving diagnostics for template arguments deduction of class templates and explicit specializations This patch essentially removes all the FIXMEs following calls to DeduceTemplateArguments() that want to keep track of deduction failure info. llvm-svn: 186730
-
Larisse Voufo authored
Revert "Use function overloading instead of template specialization for diagnosis of bad template argument deductions." This reverts commit a730f548325756d050d4caaa28fcbffdae8dfe95. llvm-svn: 186729
-
Eli Friedman authored
Make sure we correctly expand packs which expand to another pack in a function type. llvm-svn: 186728
-
Larisse Voufo authored
Use function overloading instead of template specialization for diagnosis of bad template argument deductions. llvm-svn: 186727
-
- Jul 19, 2013
-
-
Eli Friedman authored
I'm not sure how to write a test for this; the following shows the difference in -ast-dump: template <int x> struct A {}; template <class T> struct B { }; template <class ...Args> using C = A<(__is_trivially_constructible(Args...))>; template <class ...Args> using D = C<B<Args>...>; However, I can't seem to write a test that triggers a visible difference in behavior. llvm-svn: 186726
-
Vincent Lejeune authored
llvm-svn: 186725
-
Vincent Lejeune authored
llvm-svn: 186724
-
Vincent Lejeune authored
llvm-svn: 186723
-
Craig Topper authored
llvm-svn: 186722
-
Rafael Espindola authored
We were only handling the 'a' and 'b' options during moves before. llvm-svn: 186721
-
Hans Wennborg authored
The mode doesn't actually do anything yet, but this provides a way to get into it. llvm-svn: 186720
-
Reid Kleckner authored
There seems to be a crash here if we have a calling convention attribute that gets ignored and then we instantiate templates. llvm-svn: 186719
-
Jean-Daniel Dupas authored
Summary: In ARC mode, clang emits a warning if the result of an 'init' method is unused but miss cases where the method does not follows the Cocoa naming convention but is properly declared as an init family method. CC: cfe-commits, eli.friedman Differential Revision: http://llvm-reviews.chandlerc.com/D1163 llvm-svn: 186718
-
Ashok Thirumurthi authored
llvm-svn: 186717
-
Fariborz Jahanian authored
declaration which can be migrated to NS_ENUM. llvm-svn: 186716
-
Samuel Benzaquen authored
Summary: Add printToStream*(llvm::raw_ostream&) methods to Diagnostics, and reimplement everything based on streams instead of concatenating strings. Also, fix some functions to start with lowercase to match the style guide. Reviewers: klimek CC: cfe-commits, revane Differential Revision: http://llvm-reviews.chandlerc.com/D1187 llvm-svn: 186715
-
Reid Kleckner authored
Canonical types are unchanged. The type printer had to be changed to avoid printing any non-default implicit calling convention as well as the calling convention attribute. Reviewers: rjmccall Differential Revision: http://llvm-reviews.chandlerc.com/D1132 llvm-svn: 186714
-
Eli Friedman authored
When we see a pack, and replace it with a template argument which is also a pack, we want to use the pack pattern, not the expanded pack. The caller should take care of expanding the pack afterwards. Fixes PR16646. llvm-svn: 186713
-
Daniel Malea authored
llvm-svn: 186712
-
Richard Smith authored
1) clang++ must be used when linking C++ programs using -fsanitize=undefined, and 2) MSan can't be combined with TSan or ASan. llvm-svn: 186711
-
Akira Hatanaka authored
-mcheck-zero-division. llvm-svn: 186710
-
Argyrios Kyrtzidis authored
[arcmt] After checking is successful disable auto-synthesize to avoid "@synthesize of 'weak' property is only allowed in ARC" errors. rdar://14461559 llvm-svn: 186709
-
Aaron Ballman authored
single diagnostic that selects. No functional changes intended. llvm-svn: 186708
-
John Thompson authored
llvm-svn: 186707
-
Ashok Thirumurthi authored
Your mileage may vary depending on the gcc and stl versions in use (see llvm.org/pr15301). llvm-svn: 186706
-
Rafael Espindola authored
We were incorrectly using compiler_used instead of compiler.used. Unfortunately the passes using the broken name had tests also using the broken name. llvm-svn: 186705
-
Reid Kleckner authored
llvm-svn: 186704
-
Reid Kleckner authored
Summary: This allows the clang driver to put MSVC compatible options in the same enumerator space as its normal options but exclude them from normal option parsing. Also changes the standard ParseArgs() method to consider unknown arguments with a leading slash as being inputs rather than flags. High level discussion for clang-cl is here: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-June/030404.html CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1049 llvm-svn: 186703
-
Enea Zaffanella authored
llvm-svn: 186702
-
Benjamin Kramer authored
llvm-svn: 186701
-
Fariborz Jahanian authored
in file is an enum. llvm-svn: 186700
-