llvm-project/clang/tools
Argyrios Kyrtzidis 66f433a746 [libclang] API enhancements by Joe Groff!
- 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
2011-12-06 22:05:01 +00:00
..
arcmt-test Make 'LangOptions' in CompilerInvocation a heap-allocated, reference counted object. I discovered that llvm::RefCountedBase<T> has 2011-11-17 23:01:24 +00:00
c-arcmt-test [arcmt] Move the remapping functions to clang-c/Index.h and change 'arcmt_' prefix to 'clang_'. 2011-07-11 20:15:00 +00:00
c-index-test [libclang] When indexing a field in a C++ class, return an entity 2011-12-05 22:05:28 +00:00
diagtool Reduce dependencies. 2011-10-23 08:38:37 +00:00
driver Create the clang++ symlink as a POST_BUILD custom command on clang. 2011-11-21 00:00:48 +00:00
libclang [libclang] API enhancements by Joe Groff! 2011-12-06 22:05:01 +00:00
scan-build Teach ccc-analyzer about -fobjc-arc. 2011-11-16 05:14:42 +00:00
scan-view Fix call to send_error() in scan-view. An int error code is expected but a string was being sent. Patch by Andrew Price! 2011-02-21 19:26:48 +00:00
CMakeLists.txt Place back previous order of add_subdirectory()'s to reflect build depedencies. 2011-08-09 14:55:12 +00:00
Makefile Add 'diagtool' to the 'tools/' directory. diagtool is a new tool (WIP) for analyzing and working with clang diagnostics. 2011-08-09 03:39:19 +00:00