Repository navigation
[Clang][AST] Introduce ExplicitInstantiationDecl to preserve source info and fix diagnostic locations
#191658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
15a609e
[clang] Add ExplicitInstantiationDecl to preserve source info for exp…
16bit-ykiko 61c859d
clang-format
16bit-ykiko bdcc69c
add ExplicitInstantiation to getIdentifierNamespaceForKind
16bit-ykiko fc93b95
Merge branch 'main' into fix-explicit-instantiation
16bit-ykiko 0d63c41
fix CI failures from ExplicitInstantiationDecl
16bit-ykiko e88b891
clang-format
16bit-ykiko 61e4895
update clang-tidy tests for ExplicitInstantiationDecl
16bit-ykiko ab583c2
address review nits and add ast-print support for ExplicitInstantiati…
16bit-ykiko 426dc42
compute EndLoc from existing fields instead of storing it
16bit-ykiko 7a2129f
address review feedback: return EID, wrap test in namespace
16bit-ykiko 104d21e
revert returning EID from ActOnExplicitInstantiation
16bit-ykiko f359da2
fix DiagLocForExplicitInstantiation and add member template tests
16bit-ykiko 9eaab97
fix clang-format
16bit-ykiko 6fcf239
address style review and fix getEndLoc for postfix types
16bit-ykiko 0961d5f
simplify getEndLoc to take-max pattern
16bit-ykiko 1eb9900
make ExplicitInstantiationDecl redeclarable and add cross-module merg…
16bit-ykiko 6f67e52
fix clang-format
16bit-ykiko 687c114
Merge branch 'main' into fix-explicit-instantiation
16bit-ykiko c002e77
address review: reuse ASTContext map for merge and simplify GetDeclRef
16bit-ykiko 34f2e7f
Merge branch 'fix-explicit-instantiation' of https://github.com/16bit…
16bit-ykiko c4e70d5
revert redeclarable, use TinyPtrVector and union optimization
16bit-ykiko 9bdb212
optimize ExplicitInstantiationDecl layout with PointerIntPair and Tra…
16bit-ykiko bbafbc1
fix the compilation error
16bit-ykiko 11cbbf3
fix TrailingObjects offset bug and avoid double NNS traversal
16bit-ykiko 138dd77
add unified template argument accessors and unwrap getTypeAsWritten
16bit-ykiko d5cc496
extract typeIsPostfix to QualType::hasPostfixDeclaratorSyntax and fix…
16bit-ykiko 244aa44
simplify trailing object access with helper methods
16bit-ykiko 3d7977c
remove unconditional 'template' from EID dump output
16bit-ykiko 6f5d4f6
fix test CHECK lines for removed 'template' in EID dump
16bit-ykiko 42e74ca
Merge branch 'main' into fix-explicit-instantiation
16bit-ykiko 28ad5ef
add release note for ExplicitInstantiationDecl
16bit-ykiko 14ac130
address review: use NamedDecl, TypeLoc::getPrefix, and fix traversal …
16bit-ykiko 6b68d62
fix CHECK lines for new traversal order in ExplicitInstantiationDecl
16bit-ykiko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.