llvm-project/clang/lib/Index
Dave Lee 1a532c9e1d [index] Generate class & metaclass manglings for objc
Summary:
ObjC classes have two associated symbols, one for the class and one for the
metaclass.

This change overloads `CodegenNameGenerator::getAllManglings` to produce both
class and metaclass symbols.

While this function is called by `clang_Cursor_getCXXManglings`, it's only
called for CXXRecordDecl and CXXMethodDecl, and so libclang's behavior is
unchanged.

Reviewers: arphaman, abdulras, alexshap, compnerd

Reviewed By: compnerd

Subscribers: compnerd

Differential Revision: https://reviews.llvm.org/D37671

llvm-svn: 313997
2017-09-22 16:58:57 +00:00
..
CMakeLists.txt [index] CMake: add missing reference to clangSerialization library. 2017-01-30 06:48:27 +00:00
CodegenNameGenerator.cpp [index] Generate class & metaclass manglings for objc 2017-09-22 16:58:57 +00:00
CommentToXML.cpp Print enum constant values using the original source formatting 2017-08-17 13:41:55 +00:00
IndexBody.cpp [index] Remove 'implicit' role for message sends in implicit ObjC 2017-07-03 10:34:46 +00:00
IndexDecl.cpp [index] Add indexing for unresolved-using declarations 2017-08-16 23:12:21 +00:00
IndexSymbol.cpp [index] Add indexing for unresolved-using declarations 2017-08-16 23:12:21 +00:00
IndexTypeSourceInfo.cpp [index] Update indexing to handle CXXDeductionGuideDecls properly 2017-08-15 17:20:37 +00:00
IndexingAction.cpp [index] Added a method indexTopLevelDecls to run indexing on a list of Decls. 2017-07-14 10:47:45 +00:00
IndexingContext.cpp [index] Update indexing to handle CXXDeductionGuideDecls properly 2017-08-15 17:20:37 +00:00
IndexingContext.h [index] The relation between the declarations in template specializations 2017-04-24 14:04:58 +00:00
SimpleFormatContext.h [VFS] Port SimpleFormatContext to InMemoryFileSystem. 2015-10-06 10:23:34 +00:00
USRGeneration.cpp Recommit "Add _Float16 as a C/C++ source language type" 2017-09-08 15:15:00 +00:00