| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
of Diagnostic.h.
Fix all the files that depended on transitive includes of Diagnostic.h.
With this patch in place changing a diagnostic no longer requires a full rebuild of the StaticAnalyzer.
llvm-svn: 149781
|
|
|
|
|
|
| |
declaration is a reference. rdar://10749990
llvm-svn: 149733
|
|
|
|
| |
llvm-svn: 149127
|
|
|
|
|
|
|
|
| |
for forward references of classes and protocols, this breaks libclang API usage.
rdar://10747438.
llvm-svn: 148861
|
|
|
|
|
|
|
|
|
| |
forward reference, do give an interface or protocol cursor back, don't give
an 'UnexposedDecl' one.
rdar://10743193
llvm-svn: 148848
|
|
|
|
|
|
|
|
|
| |
@implementation I(cat)
suppress subsequent references to 'I'.
rdar://10568103
llvm-svn: 148730
|
|
|
|
|
|
|
|
|
| |
without C++-specific features.
Use it to set the language to C++ when indexing non-C-like structs.
rdar://10732579
llvm-svn: 148708
|
|
|
|
| |
llvm-svn: 148707
|
|
|
|
| |
llvm-svn: 148706
|
|
|
|
| |
llvm-svn: 148705
|
|
|
|
| |
llvm-svn: 148577
|
|
|
|
|
|
|
| |
the front end into its own class, FrontendInputFile, to make it easier
to introduce new per-input data. No functionality change.
llvm-svn: 148546
|
|
|
|
| |
llvm-svn: 148524
|
|
|
|
| |
llvm-svn: 148319
|
|
|
|
|
|
| |
appropriate or when GCC requires it)
llvm-svn: 148292
|
|
|
|
|
|
| |
This allows -Wswitch-enum to find switches that need updating when these enums are modified.
llvm-svn: 148281
|
|
|
|
|
|
|
|
| |
a Sema.
This allows it to work when Sema is not available, like when loading AST files.
llvm-svn: 148279
|
|
|
|
|
|
|
|
|
|
|
|
| |
we have a redeclarable type, and only use the new virtual versions
(getPreviousDeclImpl() and getMostRecentDeclImpl()) when we don't have
that type information. This keeps us from penalizing users with strict
type information (and is the moral equivalent of a "final" method).
Plus, settle on the names getPreviousDecl() and getMostRecentDecl()
throughout.
llvm-svn: 148187
|
|
|
|
|
|
| |
index parameters.
llvm-svn: 148169
|
|
|
|
|
|
| |
that one wants indexing callbacks for function-local symbols as well.
llvm-svn: 148160
|
|
|
|
| |
llvm-svn: 148049
|
|
|
|
|
|
| |
Patch by Sylvestre Ledru.
llvm-svn: 148045
|
|
|
|
|
|
|
|
|
|
| |
was constructed, e.g. for a property access.
This allows the selector identifier locations machinery for ObjCMessageExpr
to function correctly, in that there are not real locations to handle/report for
such a message.
llvm-svn: 148013
|
|
|
|
|
|
| |
They are no longer needed
llvm-svn: 147419
|
|
|
|
|
|
| |
ObjCProtocolDecl modules forward declarations properly.
llvm-svn: 147415
|
|
|
|
|
|
|
|
|
| |
separately-allocated DefinitionData structure. Introduce various
functions that will help with the separation of declarations from
definitions (isThisDeclarationADefinition(), hasDefinition(),
getDefinition()).
llvm-svn: 147408
|
|
|
|
|
|
|
| |
covers both declarations (@class) and definitions (@interface) of an
Objective-C class.
llvm-svn: 147299
|
|
|
|
| |
llvm-svn: 147195
|
|
|
|
|
|
|
|
| |
region
so translate the range to file locations.
llvm-svn: 147058
|
|
|
|
|
|
|
|
|
|
| |
declarations and definitions) as ObjCInterfaceDecls within the same
redeclaration chain. This new representation matches what we do for
C/C++ variables/functions/classes/templates/etc., and makes it
possible to answer the query "where are all of the declarations of
this class?"
llvm-svn: 146679
|
|
|
|
| |
llvm-svn: 146648
|
|
|
|
|
|
|
|
|
| |
file.
Log:
[libclang] Try to unbreak mingw build.
llvm-svn: 146647
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
separately-allocated DefinitionData structure, which we manage the
same way as CXXRecordDecl::DefinitionData. This prepares the way for
making ObjCInterfaceDecls redeclarable, to more accurately model
forward declarations of Objective-C classes and eliminate the mutation
of ObjCInterfaceDecl that causes us serious trouble in the AST reader.
Note that ObjCInterfaceDecl's accessors are fairly robust against
being applied to forward declarations, because Clang (and Sema in
particular) doesn't perform RequireCompleteType/hasDefinition() checks
everywhere it has to. Each of these overly-robust cases is marked with
a FIXME, which we can tackle over time.
llvm-svn: 146644
|
|
|
|
|
|
|
|
|
|
| |
exit()
when there is a report_fatal_error() call.
rdar://10507984
llvm-svn: 146641
|
|
|
|
|
|
| |
so that we can access the attributes of an entity for a reference.
llvm-svn: 146616
|
|
|
|
|
|
| |
in a superclass and the protocols in a protocol list.
llvm-svn: 146615
|
|
|
|
|
|
|
| |
members into ObjCClassDecl, saving ourselves one pointer per forward
declaration.
llvm-svn: 146564
|
|
|
|
|
|
| |
rdar://10573361
llvm-svn: 146498
|
|
|
|
|
|
| |
rdar://10567864&10567916
llvm-svn: 146497
|
|
|
|
|
|
|
|
| |
@class forward references.
rdar://10568080&10568103&10568119
llvm-svn: 146496
|
|
|
|
|
|
| |
a null pointer after getCursorDecl() is called. rdar://10298421.
llvm-svn: 146312
|
|
|
|
|
|
| |
<rdar://problem/10553081>.
llvm-svn: 146287
|
|
|
|
| |
llvm-svn: 146286
|
|
|
|
| |
llvm-svn: 146213
|
|
|
|
|
|
| |
passed to clang_findReferencesInFile.
llvm-svn: 146211
|
|
|
|
|
|
|
|
| |
if we come up against a null Decl.
No test case unfortunately. rdar://10457799.
llvm-svn: 146127
|
|
|
|
|
|
| |
now that client containers can be set via function calls.
llvm-svn: 146117
|
|
|
|
|
|
| |
They are generally the same except in C++ cases like out-of-line member functions.
llvm-svn: 146069
|
|
|
|
| |
llvm-svn: 146068
|
|
|
|
|
|
| |
of an indexed entity.
llvm-svn: 146067
|