- Oct 18, 2012
-
-
Richard Smith authored
namespace. llvm-svn: 166194
-
Chad Rosier authored
llvm-svn: 166193
-
Fariborz Jahanian authored
llvm-svn: 166192
-
Fariborz Jahanian authored
llvm-svn: 166190
-
David Blaikie authored
Within the body of the loop the underlying map may be modified via Sema::AddOverloadCandidate -> Sema::CompareReferenceRelationship -> Sema::RequireCompleteType to avoid the use of invalid iterators the sequence is copied first. A reliable, though large, test case is available - it will be reduced and committed shortly. Patch by Robert Muth. Review by myself, Nico Weber, and Rafael Espindola. llvm-svn: 166188
-
Chad Rosier authored
layer. Use the new ParseMSInlineAsm() API and add an implementation of the MCAsmParserSemaCallback interface. llvm-svn: 166184
-
Andy Gibbs authored
llvm-svn: 166181
-
Dmitri Gribenko authored
fixes the tests for builds without libxml2. llvm-svn: 166179
-
Abramo Bagnara authored
llvm-svn: 166174
-
Nick Lewycky authored
start seeing the bit so that we can find bugs and write tests for it. llvm-svn: 166171
-
Douglas Gregor authored
block, which stores information about how the AST file to generated, from the AST block, which stores the actual serialized AST. The information in the control block should be enough to determine whether the AST file is up-to-date and compatible with the current translation unit, and reading it should not cause any side effects that aren't easy to undo. That way, we can back out from an attempt to read an incompatible or out-of-date AST file. Note that there is still more factoring to do. In particular, information about the source files used to generate the AST file (along with their time stamps, sizes, etc.) still resides in the source manager block. llvm-svn: 166166
-
Bob Wilson authored
Nadav's llvm change r165665 caused problems with an LTO bootstrap of clang, so I'm reverting it for now, along with follow-on patches like this one. llvm-svn: 166164
-
NAKAMURA Takumi authored
llvm-svn: 166163
-
Richard Smith authored
llvm-svn: 166162
-
Argyrios Kyrtzidis authored
llvm-svn: 166161
-
Argyrios Kyrtzidis authored
llvm-svn: 166160
-
Richard Smith authored
llvm-svn: 166158
-
Richard Smith authored
expressions, not *any* typeid on a polymorphic class type. llvm-svn: 166156
-
David Blaikie authored
Fix -Woverloaded-virtual when the using statement refers to a base declaration of a virtual function. GCC and Clang both do not warn on: struct a { virtual void func(); }; struct b: a { virtual void func(); void func(int); }; struct c: b { void func(int); using b::func; }; but if the "using" was using a::func GCC would still remain silent where Clang would warn. This change makes Clang consistent with GCC's existing behavior. llvm-svn: 166154
-
Richard Smith authored
llvm-svn: 166152
-
Fariborz Jahanian authored
other platforms. llvm-svn: 166151
-
Fariborz Jahanian authored
off. // rdar://12501960 llvm-svn: 166150
-
Richard Smith authored
llvm-svn: 166139
-
- Oct 17, 2012
-
-
Fariborz Jahanian authored
XML comment for declarations which pretty-prints declaration. I had to XFAIL one test annotate-comments.cpp. This test is currently unmaintainable as written. Dmitri G., can you see what we can do about this test. We should change this test such that adding a new tag does not wreck havoc to the test. llvm-svn: 166130
-
Anna Zaks authored
clang_version, fix the compare routine. llvm-svn: 166129
-
Jordan Rose authored
This actually looks through several kinds of expression, such as OpaqueValueExpr and ExprWithCleanups. The idea is that binding and lookup should be consistent, and so if the environment needs to be modified later, the code doing the modification will not have to manually look through these "transparent" expressions to find the real binding to change. This is necessary for proper updating of struct rvalues as described in the previous commit. llvm-svn: 166121
-
Jordan Rose authored
In C++, rvalues that need to have their address taken (for example, to be passed to a function by const reference) will be wrapped in a MaterializeTemporaryExpr, which lets CodeGen know to create a temporary region to store this value. However, MaterializeTemporaryExprs are /not/ created when a method is called on an rvalue struct, even though the 'this' pointer needs a valid value. CodeGen works around this by creating a temporary region anyway; now, so does the analyzer. The analyzer also does this when accessing a field of a struct rvalue. This is a little unfortunate, since the rest of the struct will soon be thrown away, but it does make things consistent with the rest of the analyzer. This allows us to bring back the assumption that all known 'this' values are Locs. This is a revised version of r164828-9, reverted in r164876-7. <rdar://problem/12137950> llvm-svn: 166120
-
David Blaikie authored
Addressing feedback on r166039 given by Matt Beaumont-Gay. llvm-svn: 166118
-
Eric Christopher authored
debug info. llvm-svn: 166109
-
Daniel Jasper authored
platforms to make buildbots happy. llvm-svn: 166100
-
Chandler Carruth authored
Based loosely on a patch from David Hill. llvm-svn: 166096
-
Daniel Jasper authored
Review: http://llvm-reviews.chandlerc.com/D47 llvm-svn: 166094
-
Richard Smith authored
llvm-svn: 166090
-
John McCall authored
has ivars that require destruction, but none that require anything except zero-initialization. This is common in ARC and (when true throughout a class hierarchy) permits the elimination of an unnecessary message-send during allocation. llvm-svn: 166088
-
John McCall authored
No functionality change. llvm-svn: 166087
-
John McCall authored
combination of a load+objc_release; this is generally better for tools that try to track why values are retained and released. Also use objc_storeStrong when copying a block (again, only at -O0), which requires us to do a preliminary store of null in order to compensate for objc_storeStrong's assign semantics. llvm-svn: 166085
-
David Blaikie authored
Only deleted functions may override deleted functions and non-deleted functions may only override non-deleted functions. llvm-svn: 166082
-
Nico Weber authored
llvm-svn: 166080
-
Douglas Gregor authored
llvm-svn: 166079
-
Eli Friedman authored
llvm-svn: 166078
-