HomePhabricator

Add `TypeLoc`-related matchers.

Authored by jcking1034 on Oct 8 2021, 10:42 AM.

Description

Add TypeLoc-related matchers.

Contributes several matchers that involve TypeLocs. These matchers are (in alphabetical order):

  • elaboratedTypeLoc
  • hasAnyTemplateArgumentLoc
  • hasNamedTypeLoc
  • hasPointeeLoc
  • hasReferentLoc
  • hasReturnTypeLoc
  • hasTemplateArgumentLoc
  • hasUnqualifiedLoc
  • pointerTypeLoc
  • qualifiedTypeLoc
  • referenceTypeLoc
  • templateSpecializationTypeLoc

Reviewed By: ymandel, aaron.ballman

Differential Revision: https://reviews.llvm.org/D111242

Details

Committed
ymandelOct 8 2021, 10:42 AM
Reviewer
ymandel
Differential Revision
D111242: Add `TypeLoc`-related matchers.
Parents
rG68e49aea9ac4: Revert "[clang] Fix absolute file paths with -fdebug-prefix-map"
Branches
Unknown
Tags
Unknown