- Feb 17, 2011
-
-
NAKAMURA Takumi authored
llvm-svn: 125743
-
NAKAMURA Takumi authored
No one uses *-mingw64. mingw-w64 is represented as {i686|x86_64}-w64-mingw32. llvm-svn: 125742
-
NAKAMURA Takumi authored
llvm-svn: 125741
-
Douglas Gregor authored
llvm-svn: 125740
-
Chandler Carruth authored
different types. We omit the warning when the enum types are anonymous. Unlike GCC, this warning does not distinguish between C++ and C/ObjC for controling whether it is on by default, it is always on by default. Original patch contributed by Richard Trieu (@ Google), I fixed some style issues, and cleaned it up for submission. llvm-svn: 125739
-
Douglas Gregor authored
Simple little optimization to Decl::getCanonicalDecl(), eliminating some heavyweight machinery and indirection that we don't need llvm-svn: 125737
-
Douglas Gregor authored
llvm-svn: 125736
-
Douglas Gregor authored
llvm-svn: 125735
-
Chris Lattner authored
LabelDecl and LabelStmt. There is a 1-1 correspondence between the two, but this simplifies a bunch of code by itself. This is because labels are the only place where we previously had references to random other statements, causing grief for AST serialization and other stuff. This does cause one regression (attr(unused) doesn't silence unused label warnings) which I'll address next. This does fix some minor bugs: 1. "The only valid attribute " diagnostic was capitalized. 2. Various diagnostics printed as ''labelname'' instead of 'labelname' 3. This reduces duplication of label checking between functions and blocks. Review appreciated, particularly for the cindex and template bits. llvm-svn: 125733
-
Douglas Gregor authored
llvm-svn: 125731
-
Douglas Gregor authored
llvm-svn: 125730
-
Douglas Gregor authored
parameter type to see what's behind it, so that we don't end up printing silly things like "float const *" when "const float *" would make more sense. Also, replace the pile of "isa" tests with a simple switch enumerating all of the cases, making a few more obvious cases use prefix qualifiers. llvm-svn: 125729
-
Chris Lattner authored
llvm-svn: 125724
-
Douglas Gregor authored
llvm-svn: 125722
-
Douglas Gregor authored
I will not hold on to temporary StringRefs. I will not hold on to temporary StringRefs. I will not hold on to temporary StringRefs. I will not hold on to temporary StringRefs. I will not hold on to temporary StringRefs. I will not hold on to temporary StringRefs. I will not hold on to temporary StringRefs. I will not hold on to temporary StringRefs. I will not hold on to temporary StringRefs. I will not hold on to temporary StringRefs. llvm-svn: 125718
-
Douglas Gregor authored
normal "expression" completion. Fixes the most annoying code-completion bug I've found. llvm-svn: 125715
-
Matt Beaumont-Gay authored
function name used as the base of a member expression. Early feedback from Chandler Carruth, and code review from Nick Lewycky. llvm-svn: 125714
-
Ted Kremenek authored
llvm-svn: 125708
-
Chris Lattner authored
the only character that GCC escapes. PR9224. llvm-svn: 125707
-
Ken Dyck authored
intended. llvm-svn: 125704
-
Fariborz Jahanian authored
a forward class. // rdar://8851803 llvm-svn: 125699
-
Douglas Gregor authored
(KVC) and Key-Value Observing (KVO) protocols. llvm-svn: 125696
-
Nick Lewycky authored
llvm-svn: 125694
-
Ted Kremenek authored
llvm-svn: 125693
-
- Feb 16, 2011
-
-
Fariborz Jahanian authored
byref variables again when passing them to inner blocks. // rdar://9006279 llvm-svn: 125690
-
Zhanyong Wan authored
by kremenek. llvm-svn: 125687
-
Douglas Gregor authored
Fix a thinko with llvm::Optional, which is clearly the most dangerous class template in the universe llvm-svn: 125679
-
Douglas Gregor authored
code-completion results accessed via libclang, to extend the lifetime of the allocator used for cached global code-completion results at least until these completion results are destroyed. Fixes <rdar://problem/8997369>. llvm-svn: 125678
-
Devang Patel authored
If preprocessed token introduced empty filename then use main translation unit's filename for debug info entries. llvm-svn: 125672
-
Douglas Gregor authored
completions. We now compute a hash of the names of all top-level declarations and macro definitions, and invalidate the cache when the hash value changes. llvm-svn: 125670
-
John McCall authored
llvm-svn: 125662
-
John McCall authored
llvm-svn: 125661
-
Ted Kremenek authored
llvm-svn: 125649
-
Nick Lewycky authored
llvm-svn: 125645
-
Ken Dyck authored
functionality intended. llvm-svn: 125643
-
Nick Lewycky authored
llvm-svn: 125642
-
Ken Dyck authored
intended. llvm-svn: 125641
-
Ted Kremenek authored
llvm-svn: 125640
-
Ken Dyck authored
intended. llvm-svn: 125639
-
Ken Dyck authored
intended. llvm-svn: 125638
-