Modify the qualified/unqualified getter for TypeOfType; NFC
authorAaron Ballman <aaron@aaronballman.com>
Tue, 4 Oct 2022 16:12:49 +0000 (12:12 -0400)
committerAaron Ballman <aaron@aaronballman.com>
Tue, 4 Oct 2022 16:14:38 +0000 (12:14 -0400)
commit42ad305bdbb87d567d4d365ec5ede8be4d2a4210
tree67e4a74916c36f4972c29603f216f5245a7d7079
parent4409a83c293537e22da046b54e9f69454cdd3dca
Modify the qualified/unqualified getter for TypeOfType; NFC

Post-commit feedback observed that returning the TypeOfKind from the
type instead of a Boolean cleans up code using that interface.
clang/include/clang/AST/Type.h
clang/include/clang/AST/TypeProperties.td
clang/lib/AST/ASTContext.cpp
clang/lib/AST/ASTImporter.cpp
clang/lib/AST/Type.cpp
clang/lib/AST/TypePrinter.cpp
clang/lib/Sema/TreeTransform.h