[clang] [PAC][clang] Define `PointerAuthQualifier` and `PointerAuthenticationMode` (PR #84384)

Daniil Kovalev via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 8 09:06:23 PDT 2024


kovdan01 wrote:

> Are there unittests where we could exercise these types?

@Michael137 Could you clarify a bit, what is the correct place for such a unit test? As for `ASTContext` methods similar to newly proposed `getPointerAuthType` (like `getQualifiedType` and `getCVRQualifiedType`), I've not found unit tests with them. As for `Qualifiers` class also touched in this PR, I've not found tests for it at all. Newly proposed `PointerAuthQualifier` qualifier, obviously, also has no unit tests now, but if we want to implement them, they should be placed somewhere near unit tests for `Qualifiers` which are absent as well.


https://github.com/llvm/llvm-project/pull/84384


More information about the cfe-commits mailing list