[all-commits] [llvm/llvm-project] 42ad30: Modify the qualified/unqualified getter for TypeOf...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Tue Oct 4 09:15:05 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42ad305bdbb87d567d4d365ec5ede8be4d2a4210
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2022-10-04 (Tue, 04 Oct 2022)

  Changed paths:
    M clang/include/clang/AST/Type.h
    M clang/include/clang/AST/TypeProperties.td
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/ASTImporter.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/AST/TypePrinter.cpp
    M clang/lib/Sema/TreeTransform.h

  Log Message:
  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.

More information about the All-commits mailing list