- Jul 21, 2013
-
-
Chandler Carruth authored
pattern and conform to the naming conventions. llvm-svn: 186776
-
Chandler Carruth authored
subsequent changes don't introduce inconsistencies. llvm-svn: 186775
-
Andrew Trick authored
llvm-svn: 186774
-
Chandler Carruth authored
those baked into DenseMap now. llvm-svn: 186773
-
Chandler Carruth authored
functionality changed. llvm-svn: 186772
-
- Jul 20, 2013
-
-
Rui Ueyama authored
llvm-svn: 186771
-
Enea Zaffanella authored
llvm-svn: 186770
-
Richard Smith authored
implicit conversion sequence. llvm-svn: 186769
-
Richard Smith authored
llvm-svn: 186768
-
Matt Arsenault authored
llvm-svn: 186767
-
Matt Arsenault authored
llvm-svn: 186766
-
Lubos Lunak authored
The functionality is equivalent to the GCC attribute. Variables of tagged types will be warned about as unused if they are not used in any way except for possible (even non-trivial) ctors/dtors called. Useful for tagging classes like std::string (which is not part of this commit). llvm-svn: 186765
-
Lubos Lunak authored
llvm-svn: 186764
-
Lubos Lunak authored
Every #include is surrounded by #if 0 in order to comment it out, which adds lines. That is fixed up right after, but that all can be inside #if part that is not processed, so fix up also after every end of a conditional part. llvm-svn: 186763
-
Benjamin Kramer authored
llvm-svn: 186762
-
Benjamin Kramer authored
While there replace an explicit struct with std::mem_fun. llvm-svn: 186761
-
David Majnemer authored
Diag ID is used throughout clang as a sentinel id meaning "this is an invalid diagnostic id." Confusingly, Diag ID maps to a valid, usable, diagnostic id. Instead, start diagnostic ids at ID one. Incidently, remove an unused element from StaticDiagInfo. llvm-svn: 186760
-
Stephen Lin authored
llvm-svn: 186759
-
Matt Arsenault authored
llvm-svn: 186758
-
Richard Trieu authored
template. Passing around dependent types can lead to integral arguments that cannot be evaluated. llvm-svn: 186757
-
Hans Wennborg authored
Previously, they were only built and run in the CMake build. llvm-svn: 186756
-
Nick Kledzik authored
llvm-svn: 186755
-
Eli Friedman authored
A class with a field of non-POD-for-layout type is not POD-for-layout. This computation should not depend on whether the field is of POD type in the language sense. Fixes PR16537. Patch by Josh Magee. llvm-svn: 186741
-
Alexander Kornienko authored
Use -lines option instead of -offset/-length. This fixes problems with files using dos newlines (<CR><LF>). llvm-svn: 186740
-
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
-