- Oct 21, 2011
-
-
DeLesley Hutchins authored
llvm-svn: 142666
-
DeLesley Hutchins authored
llvm-svn: 142665
-
Fariborz Jahanian authored
ivars in class extensions. // rdar://10309454 llvm-svn: 142664
-
Sean Callanan authored
addDecl() and makeDeclVisibleInContextInternal() functions, and made the latter private since it does not and should not have external clients. llvm-svn: 142655
-
DeLesley Hutchins authored
llvm-svn: 142654
-
Douglas Gregor authored
be sure to consider all of the possible lookup results. We were assert()'ing (but behaving correctly) for unresolved values. Fixes PR11134 / <rdar://problem/10290422>. llvm-svn: 142652
-
Peter Collingbourne authored
llvm-svn: 142649
-
Nick Lewycky authored
under bash or under cmd.exe. llvm-svn: 142637
-
Douglas Gregor authored
keyword, because both libstdc++ and libc++ use "__except" as an identifier. Fixes <rdar://problem/10322555>. llvm-svn: 142636
-
Nick Lewycky authored
llvm-svn: 142635
-
Sean Callanan authored
addDeclInternal(). This function suppresses any calls to FindExternalVisibleDeclsByName() while a Decl is added to a DeclContext. This behavior is required for the ASTImporter, because in the case of the LLDB client the ASTImporter would be called recursively to import the visible decls, which leads to assertions because the recursive call is seeing partially-formed types. I also modified the ASTImporter to use addDeclInternal() in all places where it would otherwise use addDecl(). This fix should not affect the rest of Clang, passes Clang's testsuite, and fixes several serious LLDB bugs. llvm-svn: 142634
-
Nick Lewycky authored
closer to what GCC does, except that GCC also checks that the inodes for $PWD and '.' match. llvm-svn: 142633
-
- Oct 20, 2011
-
-
Richard Smith authored
but trivially constructible and destructible variables in C++11 mode. Also incidentally improve the precision of the wording for jump diagnostics in C++98 mode. llvm-svn: 142619
-
Douglas Gregor authored
the anonymous union as valid: our fixes have Fix-Its. llvm-svn: 142616
-
rdar://problem/10308201Ted Kremenek authored
Add test case for analyzer crash reported in <rdar://problem/10308201> (which is already fixed in mainline). llvm-svn: 142606
-
Richard Smith authored
gcc's behaviour), and a -Wc++98-compat-pedantic warning for C++11. llvm-svn: 142597
-
Douglas Gregor authored
shadows a template parameter. Complain about the shadowing (or not, under -fms-extensions), but don't invalidate the declaration. Merely forget about the template parameter declaration. llvm-svn: 142596
-
Argyrios Kyrtzidis authored
llvm-svn: 142590
-
Douglas Gregor authored
*wrong* class scope. This is one of the problems behind <rdar://problem/9676205>. llvm-svn: 142588
-
Douglas Gregor authored
actually just has an extraneous 'template<>' header, strip off the 'template<>' header and treat it as a normal friend tag. Fixes PR10660 / <rdar://problem/9958322>. llvm-svn: 142587
-
-
Richard Smith authored
llvm-svn: 142568
-
David Blaikie authored
llvm-svn: 142566
-
David Blaikie authored
llvm-svn: 142565
-
David Blaikie authored
Fix all 80 col violations in include/clang/Basic, plus any trailing whitespace in the files I'm touching anyway. llvm-svn: 142564
-
Richard Smith authored
where the test didn't work. llvm-svn: 142563
-
Eli Friedman authored
Define __STDC__ in -fms-extensions mode; defining it is consistent with gcc, and not defining it causes the system headers on multiple platforms to break with -fms-extensions because they assume the lack of a definition of __STDC__ implies a traditional (pre-ANSI) preprocessor. PR10324 and <rdar://problem/10313809> . llvm-svn: 142554
-
David Blaikie authored
llvm-svn: 142552
-
David Blaikie authored
llvm-svn: 142551
-
- Oct 19, 2011
-
-
Richard Smith authored
instead of a semicolon (as sometimes happens during refactorings). When such a comma is seen at the end of a line, and is followed by something which can't possibly be a declarator (or even something which might be a plausible typo for a declarator), suggest that a semicolon was intended. llvm-svn: 142544
-
Richard Smith authored
llvm-svn: 142541
-
Matt Beaumont-Gay authored
llvm-svn: 142538
-
Richard Smith authored
have an unambiguous accessible copying constructor; this is ill-formed in C++98. llvm-svn: 142533
-
Rafael Espindola authored
Patch by Dimitry Andric. llvm-svn: 142531
-
Hans Wennborg authored
Move to a separate test that sets a specific target triple so that the type of ssize_t is known. llvm-svn: 142481
-
Douglas Gregor authored
llvm-svn: 142478
-
Douglas Gregor authored
llvm-svn: 142477
-
Douglas Gregor authored
llvm-svn: 142476
-
Douglas Gregor authored
llvm-svn: 142475
-
Douglas Gregor authored
Python needs this in its structure definition so it allocates enough memory. From Anders Waldenborg! llvm-svn: 142474
-