forked from OSchip/llvm-project
6ba1b9075d
This is the template version of https://reviews.llvm.org/D114251. This patch introduces a new template name kind (UsingTemplateName). The UsingTemplateName stores the found using-shadow decl (and underlying template can be retrieved from the using-shadow decl). With the new template name, we can be able to find the using decl that a template typeloc (e.g. TemplateSpecializationTypeLoc) found its underlying template, which is useful for tooling use cases (include cleaner etc). This patch merely focuses on adding the node to the AST. Next steps: - support using-decl in qualified template name; - update the clangd and other tools to use this new node; - add ast matchers for matching different kinds of template names; Differential Revision: https://reviews.llvm.org/D123127 |
||
---|---|---|
.. | ||
ARCMigrate.cpp | ||
BuildSystem.cpp | ||
CIndex.cpp | ||
CIndexCXX.cpp | ||
CIndexCodeCompletion.cpp | ||
CIndexDiagnostic.cpp | ||
CIndexDiagnostic.h | ||
CIndexHigh.cpp | ||
CIndexInclusionStack.cpp | ||
CIndexUSRs.cpp | ||
CIndexer.cpp | ||
CIndexer.h | ||
CLog.h | ||
CMakeLists.txt | ||
CXComment.cpp | ||
CXComment.h | ||
CXCompilationDatabase.cpp | ||
CXCursor.cpp | ||
CXCursor.h | ||
CXIndexDataConsumer.cpp | ||
CXIndexDataConsumer.h | ||
CXLoadedDiagnostic.cpp | ||
CXLoadedDiagnostic.h | ||
CXSourceLocation.cpp | ||
CXSourceLocation.h | ||
CXStoredDiagnostic.cpp | ||
CXString.cpp | ||
CXString.h | ||
CXTranslationUnit.h | ||
CXType.cpp | ||
CXType.h | ||
CursorVisitor.h | ||
FatalErrorHandler.cpp | ||
Index_Internal.h | ||
Indexing.cpp | ||
Rewrite.cpp | ||
libclang.map | ||
linker-script-to-export-list.py |