[AST/index] Introduce an option 'SuppressTemplateArgsInCXXConstructors' in printing policy.
Enable it for USRs and names when indexing. Forward references can have different template argument names; including them makes USRs and names unstable, since the name depends on whether we saw a forward reference or not. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@260866 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/AST/PrettyPrinter.h 6 additions, 1 deletioninclude/clang/AST/PrettyPrinter.h
- include/clang/Index/IndexSymbol.h 5 additions, 0 deletionsinclude/clang/Index/IndexSymbol.h
- lib/AST/DeclarationName.cpp 7 additions, 1 deletionlib/AST/DeclarationName.cpp
- lib/Index/IndexSymbol.cpp 19 additions, 0 deletionslib/Index/IndexSymbol.cpp
- lib/Index/USRGeneration.cpp 6 additions, 1 deletionlib/Index/USRGeneration.cpp
- test/Index/Core/index-source.cpp 9 additions, 0 deletionstest/Index/Core/index-source.cpp
- tools/c-index-test/core_main.cpp 1 addition, 4 deletionstools/c-index-test/core_main.cpp
Loading
Please register or sign in to comment