File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -7125,6 +7125,15 @@ void VarDecl::emitLetToVarNoteIfSimple(DeclContext *UseDC) const {
7125
7125
}
7126
7126
}
7127
7127
7128
+ clang::PointerAuthQualifier VarDecl::getPointerAuthQualifier () const {
7129
+ if (auto *clangDecl = getClangDecl ()) {
7130
+ if (auto *valueDecl = dyn_cast<clang::ValueDecl>(clangDecl)) {
7131
+ return valueDecl->getType ().getPointerAuth ();
7132
+ }
7133
+ }
7134
+ return clang::PointerAuthQualifier ();
7135
+ }
7136
+
7128
7137
ParamDecl::ParamDecl (SourceLoc specifierLoc,
7129
7138
SourceLoc argumentNameLoc, Identifier argumentName,
7130
7139
SourceLoc parameterNameLoc, Identifier parameterName,
Original file line number Diff line number Diff line change @@ -44,12 +44,3 @@ bool VarDecl::isTypeWrapperLocalStorageForInitializer() const {
44
44
}
45
45
return false ;
46
46
}
47
-
48
- clang::PointerAuthQualifier VarDecl::getPointerAuthQualifier () const {
49
- if (auto *clangDecl = getClangDecl ()) {
50
- if (auto *valueDecl = dyn_cast<clang::ValueDecl>(clangDecl)) {
51
- return valueDecl->getType ().getPointerAuth ();
52
- }
53
- }
54
- return clang::PointerAuthQualifier ();
55
- }
You can’t perform that action at this time.
0 commit comments