- Jul 09, 2010
-
-
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
-
Douglas Gregor authored
llvm-svn: 107985
-
Craig Silverstein authored
Note that this is a move -- we pretend that we were really looking at the unqualified typeloc all along -- rather than a recursion, so we don't follow the normal CRTP plan of going through getDerived().TraverseTypeLoc. If we did, we'd be traversing twice for the same type (once as a QualifiedTypeLoc version of the type, once as an UnqualifiedTypeLoc version of the type), which in effect means we'd call VisitTypeLoc twice with the 'same' type. This solves that problem, at the cost of never seeing the qualified version of the type (unless the client subclasses TraverseQualifiedTypeLoc themselves). It's not a perfect solution. A perfect solution probably requires making QualifiedTypeLoc a wrapper around TypeLoc -- like QualType is a wrapper around Type* -- rather than being its own class in the type hierarchy. Reviewed by wan. llvm-svn: 107973
-
John Thompson authored
llvm-svn: 107956
-
John Thompson authored
llvm-svn: 107953
-
Sebastian Redl authored
Add a frontend option -chained-pch and don't pass an active PCH reader to the PCH writer if it is not set, preventing creation of chained PCH files. Since the reader is so far unused, effectively no functionality change. llvm-svn: 107936
-
Jordy Rose authored
llvm-svn: 107935
-
Douglas Gregor authored
declarations. llvm-svn: 107933
-
Douglas Gregor authored
selector of an Objective-C method declaration, e.g., given - (int)first:(int)x second:(int)y; this code completion point triggers at the location of "second". It will provide completions that fill out the method declaration for any known method, anywhere in the translation unit. llvm-svn: 107929
-
Sebastian Redl authored
When looking for an entity's Scope, don't consider scopes that can't contain declarations. Fixes PR7594. llvm-svn: 107927
-
Sebastian Redl authored
llvm-svn: 107915
-
- Jul 08, 2010
-
-
Zhanyong Wan authored
created via T() where T is a class type. Reviewed by chandlerc and csilvers. llvm-svn: 107911
-
Douglas Gregor authored
priority as other constants. And, if we're in a place where we prefer a pointer type, consider "nil" and "NULL" to be close matches. llvm-svn: 107910
-
Douglas Gregor authored
either integer values or other pointers. Fixes <rdar://problem/8134521>. llvm-svn: 107905
-
Eli Friedman authored
involving operator precedence.) llvm-svn: 107902
-
Devang Patel authored
Patch by Alexander Kabaev. PR 7595. llvm-svn: 107900
-
Ted Kremenek authored
llvm-svn: 107897
-
Douglas Gregor authored
a template, be sure to include the template arguments from the injected-class-name. Fixes PR7587. llvm-svn: 107895
-
Ted Kremenek authored
llvm-svn: 107893
-
Argyrios Kyrtzidis authored
Introduce PCHReader::GetTranslationUnitDecl() and use it instead of ReadDeclRecord when initializing. ReadDeclRecord would hit assertion if the translation unit declaration was already loaded during IdentifierInfo initialization. llvm-svn: 107885
-
Argyrios Kyrtzidis authored
llvm-svn: 107884
-
Douglas Gregor authored
ExtWarn to an Extension. Let the broken code propagate! llvm-svn: 107875
-
John McCall authored
surprised. llvm-svn: 107874
-
Argyrios Kyrtzidis authored
For TagType and TemplateSpecializationType, isDependent calculation may be invalid because some decls that the calculation is using may still be initializing. Thus, store the isDependent flag to PCH and restore directly to Type. llvm-svn: 107873
-
Argyrios Kyrtzidis authored
llvm-svn: 107872
-
Argyrios Kyrtzidis authored
llvm-svn: 107871
-
Argyrios Kyrtzidis authored
llvm-svn: 107870
-
Chandler Carruth authored
list in a diagnostic group so it can be turned on and off. A terrifying amount of code, including large chunks of open source code, still do this so it's important to be able to suppress it when necessary. Doug, is this a reasonable compromise? I'd lean toward making it a normal extension, but I don't feel strongly as long as we can turn the warnings off. llvm-svn: 107865
-
Chandler Carruth authored
unknown attributes that we discard. Add a diagnostic group for unknown attribute warnings to allow turning these off when we don't care. Also consolidates the tests for this case. llvm-svn: 107864
-
Duncan Sands authored
llvm-svn: 107863
-
John McCall authored
as well. llvm-svn: 107858
-
Douglas Gregor authored
suppressing copies of objects with trivial copy constructors. llvm-svn: 107857
-
Chris Lattner authored
llvm-svn: 107845
-
Chris Lattner authored
was not producing a memcpy with the right address spaces because of two places in it doing casts of the arguments to i8, one of which that didn't preserve the address space. There is also an optimizer bug here. llvm-svn: 107842
-
Chris Lattner authored
llvm-svn: 107841
-
Sebastian Redl authored
llvm-svn: 107838
-
Douglas Gregor authored
breaking bootstrap on Linux. llvm-svn: 107837
-
Chris Lattner authored
llvm-svn: 107836
-
Sebastian Redl authored
Rip out the C++0x-specific handling of destructor names. The specification is still in flux and unclear, and our interim workaround was broken. Fixes PR7467. llvm-svn: 107835
-