- Jun 11, 2010
-
-
Daniel Dunbar authored
llvm-svn: 105830
-
John McCall authored
vector is filled with the given constant; we were just initializing the first element. llvm-svn: 105824
-
John McCall authored
Troy Straszheim! llvm-svn: 105823
-
John McCall authored
llvm-svn: 105820
-
John McCall authored
llvm-svn: 105818
-
John McCall authored
to bool" in the sense of C++ [over.ics.rank]p4 bullet 1. I have decreed it. llvm-svn: 105817
-
Jeffrey Yasskin authored
ptrdiff_t (long on 64-bit, apparently) is ambiguous between the int and unsigned int overloads. llvm-svn: 105816
-
Jeffrey Yasskin authored
candidates printed. We default to 'all'. At the moment, 'best' prints only the first 4 overloads, but we'll improve that over time. llvm-svn: 105815
-
Charles Davis authored
namespace, too. llvm-svn: 105809
-
Tom Care authored
- Added some handling of flags that become invalid when changing the conversion specifier. - Changed fixit behavior to remove unnecessary length modifiers. - Separated some tests out and added some comments. modified: lib/Analysis/PrintfFormatString.cpp test/Sema/format-strings-fixit.c llvm-svn: 105807
-
Charles Davis authored
(but not their types; that's later). NOTE: Right now, variables in the global namespace don't get mangled, even though they're supposed to be. This is because the default mangler implements the shouldMangleDeclName() method that tells clang not to mangle them. This will be fixed in a later patch. llvm-svn: 105805
-
Charles Davis authored
select either the default Itanium ABI or the new, experimental Microsoft ABI. llvm-svn: 105804
-
John McCall authored
case of an elaborated-type-specifier like 'typename A<T>::foo', and DependentTemplateSpecializationType represents the case of an elaborated-type-specifier like 'typename A<T>::template B<T>'. The TypeLoc representation of a DependentTST conveniently exactly matches that of an ElaboratedType wrapping a TST. Kill off the explicit rebuild methods for RebuildInCurrentInstantiation; the standard implementations work fine because the nested name specifier is computable in the newly-entered context. llvm-svn: 105801
-
- Jun 10, 2010
-
-
Nate Begeman authored
llvm-svn: 105793
-
Chandler Carruth authored
value semantics such that we recurse while the visitors return true, and halt as soon as one returns false. Patch by csilvers. llvm-svn: 105787
-
Rafael Espindola authored
__USER_LABEL_PREFIX__. llvm-svn: 105771
-
Nate Begeman authored
llvm-svn: 105770
-
Charles Davis authored
llvm-svn: 105767
-
Daniel Dunbar authored
options. - This matches the intent of the .td files, and will simplify alias handling. - PR7321. llvm-svn: 105763
-
Daniel Dunbar authored
llvm-svn: 105762
-
Daniel Dunbar authored
llvm-svn: 105761
-
Daniel Dunbar authored
deriving them from the Arg type. llvm-svn: 105760
-
Daniel Dunbar authored
llvm-svn: 105759
-
- Jun 09, 2010
-
-
Sebastian Redl authored
Commit my WIP on constexpr support. This commit: an XFAILed test and treating constexpr as a top-level const. llvm-svn: 105752
-
Sebastian Redl authored
llvm-svn: 105751
-
Daniel Dunbar authored
unaliased", this isn't quite right yet. llvm-svn: 105747
-
Daniel Dunbar authored
options. - This matches the intent of the .td files, and will simplify alias handling. - PR7321. llvm-svn: 105744
-
Daniel Dunbar authored
they can be independent of the exact option that created them. llvm-svn: 105739
-
Daniel Dunbar authored
possible. llvm-svn: 105738
-
Nate Begeman authored
Make note about how to handle the dozen or so multiply by scalar ops. llvm-svn: 105734
-
Abramo Bagnara authored
llvm-svn: 105716
-
Chandler Carruth authored
new design discussed on cfe-dev, with further steps in that direction to come. It is already much more complete than the previous visitor. Patch by Zhanyong and Craig with 80 column wraps and one missing declaration added by me. llvm-svn: 105709
-
Chandler Carruth authored
llvm-svn: 105708
-
John McCall authored
a spurious substitution for an unscoped dependent template-id after introducing a substitution for the scoped template-id. llvm-svn: 105699
-
Zhongxing Xu authored
llvm-svn: 105687
-
Zhongxing Xu authored
improves generality. Thanks Ted. llvm-svn: 105686
-
Nate Begeman authored
vget_lane support llvm-svn: 105684
-
Douglas Gregor authored
diagnosing this code as an error when it should, so I've filed http://llvm.org/bugs/show_bug.cgi?id=7325. llvm-svn: 105683
-
Tom Care authored
- Refactored LengthModifier to be a class. - Added toString methods in all member classes of FormatSpecifier. - FixIt suggestions keep user specified flags unless incorrect. Limitations: - The suggestions are not conversion specifier sensitive. For example, if we have a 'pad with zeroes' flag, and the correction is a string conversion specifier, we do not remove the flag. Clang will warn us on the next compilation. A test/Sema/format-strings-fixit.c M include/clang/Analysis/Analyses/PrintfFormatString.h M lib/Analysis/PrintfFormatString.cpp M lib/Sema/SemaChecking.cpp llvm-svn: 105680
-
Douglas Gregor authored
being a subsequence of another standard conversion sequence. Instead of requiring exact type equality for the second conversion step, require type *similarity*, which is type equality with cv-qualifiers removed at all levels. This appears to match the behavior of EDG and VC++ (albeit not GCC), and feels more intuitive. Big thanks to John for the line of reasoning that supports this change: since cv-qualifiers are orthogonal to the second conversion step, we should ignore them in the type comparison. llvm-svn: 105678
-