- Jul 13, 2010
-
-
Douglas Gregor authored
at -O0. The only change from the previous patch is that we don't try to generate virtual method thunks for an available_externally function. llvm-svn: 108230
-
Devang Patel authored
llvm-svn: 108220
-
Fariborz Jahanian authored
VarDecl. llvm-svn: 108218
-
Douglas Gregor authored
class templates within class scope (which is ill-formed), and recover by dropping the explicit specialization entirely. Fixes the infinite loop in PR7622. llvm-svn: 108217
-
Douglas Gregor authored
llvm-svn: 108214
-
Craig Silverstein authored
they're not something the user typed (at least, not here). llvm-svn: 108212
-
Sebastian Redl authored
llvm-svn: 108209
-
Devang Patel authored
While collecting members for a class, always create delcaration entry for methods. Debug info for method definition will be generated while generating code for method body. Tested by classes.exp in gdb testsuite. llvm-svn: 108205
-
Sebastian Redl authored
Split the normal and chained PCH writing paths and add a tiny bit of implementation to the latter. WIP. llvm-svn: 108200
-
- Jul 12, 2010
-
-
Argyrios Kyrtzidis authored
totally unnecessary. llvm-svn: 108199
-
Argyrios Kyrtzidis authored
llvm-svn: 108198
-
Fariborz Jahanian authored
llvm-svn: 108195
-
Douglas Gregor authored
llvm-svn: 108194
-
Argyrios Kyrtzidis authored
llvm-svn: 108175
-
Douglas Gregor authored
test the performance of code-completion without testing the performance of printf(). llvm-svn: 108172
-
Fariborz Jahanian authored
on the fly when constructing it. llvm-svn: 108166
-
-
Fariborz Jahanian authored
constructor. llvm-svn: 108157
-
Douglas Gregor authored
-O0, since we won't be using the definitions for anything anyway. For lib/System/Path.o when built in Debug+Asserts mode, this leads to a 4% improvement in compile time (and suppresses 440 function bodies). <rdar://problem/7987644> llvm-svn: 108156
-
Chandler Carruth authored
around by exempting enums from the check, but this doesn't handle a lot of cases. A better approach is to directly check if the operator comes from a macro expansion. I've removed a reference to the rdar that originally led to the enum suppression when removing it's overly contrived test case. Let me know if that number or a more reasilistic test case involving enums is still needed. llvm-svn: 108128
-
Chris Lattner authored
In the case of backtracking, the cached token lexer will be the only lexer on the stack, without this the token stack will be empty and EOF won't be returned. This fixes PR7072. llvm-svn: 108124
-
Chris Lattner authored
root cause of PR7481 and probably more, and has no apparent testcases. I don't understand the logic here so I can't repair it. llvm-svn: 108119
-
Chris Lattner authored
int test1() { return; } default to an error. llvm-svn: 108108
-
Chris Lattner authored
'expected ';' after top level declarator' which is much less vague. llvm-svn: 108106
-
Chris Lattner authored
a function prototype is followed by a declarator if we aren't parsing a K&R style identifier list. Also, avoid skipping randomly after a declaration if a semicolon is missing. Before we'd get: t.c:3:1: error: expected function body after function declarator void bar(); ^ Now we get: t.c:1:11: error: invalid token after top level declarator void foo() ^ ; llvm-svn: 108105
-
Chris Lattner authored
llvm-svn: 108104
-
- Jul 11, 2010
-
-
Chandler Carruth authored
probably try and switch more of these if I can. llvm-svn: 108085
-
Chandler Carruth authored
llvm-svn: 108068
-
John Thompson authored
llvm-svn: 108067
-
- Jul 10, 2010
-
-
Nick Lewycky authored
that loads it, not by linking against them directly. llvm-svn: 108055
-
Nick Lewycky authored
llvm-svn: 108054
-
Dale Johannesen authored
llvm-svn: 108051
-
Chandler Carruth authored
default arguments to template parameters don't have a DeclContext when instantiated, and so we can't detect that we're in an instantiation context as opposed to the definition context. However, it fixes the more commonly-occuring cases in TMP code that use devolve to this type of tautology after substitution. llvm-svn: 108044
-
Argyrios Kyrtzidis authored
llvm-svn: 108042
-
Peter Collingbourne authored
llvm-svn: 108031
-
John Thompson authored
llvm-svn: 108028
-
Fariborz Jahanian authored
be a dependent expression when its is built. llvm-svn: 108026
-
- Jul 09, 2010
-
-
Fariborz Jahanian authored
block literal expression. llvm-svn: 108019
-
Sebastian Redl authored
Slightly improve the diagnostic when using a qualified function typedef to declare nonmember or static member functions. llvm-svn: 108018
-
Argyrios Kyrtzidis authored
possibility of adding an unitialized one into the folding set. llvm-svn: 108016
-