[clang] [clang][ptrauth] Add support for querying the ptrauth schema of a type (PR #138482)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 5 21:21:52 PDT 2025
================
@@ -9619,6 +9620,65 @@ ObjCInterfaceDecl *ASTContext::getObjCProtocolDecl() const {
return ObjCProtocolClassDecl;
}
+std::optional<PointerAuthQualifier>
+ASTContext::getExplicitOrImplicitPointerAuth(QualType T) {
+ auto ExplicitQualifier = T.getPointerAuth();
----------------
ojhunt wrote:
goddammit.
I wonder if we can do something in clang-format that could identify `auto ... = <no explicit mention of type>` that would not be too noisy?
https://github.com/llvm/llvm-project/pull/138482
More information about the cfe-commits
mailing list