| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
As Matt pointed out, this should be just a link to 'ccc-analyzer'.
llvm-svn: 147661
|
| |
|
|
|
|
| |
This fixes a regression from r147643.
llvm-svn: 147648
|
| |
|
|
|
|
| |
compiler option.
llvm-svn: 147645
|
| |
|
|
|
|
| |
compiler.
llvm-svn: 147644
|
| |
|
|
|
|
|
| |
Otherwise, the analyzer will try to analyze the serialized diagnostic
file as if it were a source file.
llvm-svn: 147643
|
| |
|
|
| |
llvm-svn: 147483
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
from r147218.
llvm-svn: 147278
|
| |
|
|
|
|
|
|
|
| |
This fixes the FIXMEs in ParseAnalyzeArgs. (Also a
precursor to moving the analyzer into an AST plugin.)
For consistency, do the same with AssemblerInvocation.
llvm-svn: 147218
|
| |
|
|
| |
llvm-svn: 147195
|
| |
|
|
|
|
| |
the clang driver to enable this when assembling a .s file. rdar://9275556
llvm-svn: 147167
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
. move compiler-rt to a separate directory so the -L argument only includes compiler-rt (thanks joerg)
. build all clang subdirs
. switches the Minix platform to ELF
. normalizes toolchain invocation
Patch by Ben Gras.
llvm-svn: 146206
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 146019
|
| |
|
|
|
|
| |
<rdar://problem/10538300>.
llvm-svn: 146011
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Exposes a CXType_Vector type kind for vector types.
- Adds generalized versions of the clang_getArrayElementType and clang_getArraySize functions, named clang_getElementType and clang_getNumElements, which work on array, vector, or complex types.
- Adds additional functions for querying function types. clang_isFunctionTypeVariadic returns true if a function type is variadic. clang_getFunctionCallingConv returns an enumeration value indicating the calling convention of the function type. clang_getNumArgTypes returns the number of static argument types, and clang_getArgType gets the type of an argument.
- Adds a clang_getTypedefDeclUnderlyingType function to get the underlying type from a TypedefDecl cursor.
- Adds a clang_getEnumDeclIntegerType function to get the integer type from an EnumDecl cursor.
- Adds clang_getEnumConstantDeclValue and clang_getEnumConstantDeclUnsignedValue functions to get the value of an EnumConstantDecl as a signed or unsigned long long, respectively.
- Exposes a CXCursor_AsmLabelAttr cursor kind for __asm__("label") attributes.
- Alters clang_getCursorSpelling to return the label value for AsmLabelAttr-kind cursors.
llvm-svn: 145972
|
| |
|
|
|
|
| |
of kind CXIdxEntity_CXXInstanceVariable. rdar://10522503.
llvm-svn: 145859
|
| |
|
|
| |
llvm-svn: 145751
|
| |
|
|
|
|
| |
C++ catch.
llvm-svn: 145750
|
| |
|
|
|
|
|
|
| |
__import_module__ std.vector;
in the AST.
llvm-svn: 145725
|
| |
|
|
| |
llvm-svn: 145557
|
| |
|
|
|
|
| |
clang_findReferencesInFile.
llvm-svn: 145455
|
| |
|
|
| |
llvm-svn: 145397
|
| |
|
|
| |
llvm-svn: 145396
|
| |
|
|
| |
llvm-svn: 145393
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
expansions/definition
of a macro in a file).
As a bonus, also make searching for declarations more efficient by ignoring
preprocessing entities when we know that we are looking for a declaration.
Fixes rdar://10427411.
llvm-svn: 145369
|