forked from include-what-you-use/include-what-you-use
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scan destructors of aliased type class members
TypeToDeclAsWritten returns TypedefNameDecl in that case instead of the original CXXRecordDecl. But Type::getAsCXXRecordDecl does the right thing. Found while investigating include-what-you-use#1499. The type of the _Hashtable member of std::unordered_map is a typedef at least in the libstdc++ implementation.
- Loading branch information
1 parent
b7cbe76
commit 4af435f
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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 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