- 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
-
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
-
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
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
-
- Jul 10, 2010
-
-
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
-
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
-
Argyrios Kyrtzidis authored
llvm-svn: 108015
-
Sebastian Redl authored
When given the -chained-pch option and a previous PCH file, have the PCHWriter emit a CHAINED_METADATA record instead of METADATA, and write a link to the previous file there. llvm-svn: 108014
-
Craig Silverstein authored
for code like this: template<template<typename T> class U> class V {}; The problem is that the DeclPrinter assumed all TemplateDecls have a getTemplatedClass(), but template template params don't (so we got a NULL dereference). The solution is to detect if we're a template template param, and construct the template class name ('class U') specially in this case. OKed by dgregor and chandlerc llvm-svn: 108007
-
Chandler Carruth authored
wrong, and we don't handle floating point value type arguments yet anyways. Will add correct logic for both when I finish the patch. llvm-svn: 108004
-
Chandler Carruth authored
expected value type. This is necessary as the builtin is internally represented as only operating on integral types. Also, add a FIXME to add support for floating point value types. llvm-svn: 108002
-
Fariborz Jahanian authored
llvm-svn: 108000
-
Sebastian Redl authored
llvm-svn: 107994
-
Sebastian Redl authored
llvm-svn: 107993
-
Douglas Gregor authored
spell-checking. By default, spell-checking is enabled for Clang (obviously) but disabled in CIndex for performance reasons. llvm-svn: 107992
-