diff options
author | Craig Topper <craig.topper@intel.com> | 2019-12-09 10:34:24 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2019-12-09 12:40:41 -0800 |
commit | 505aa2410db6d089279da1a271903ce2633764f6 (patch) | |
tree | 24ee9642d2cc983253f6955bb18e4aeaec96abac /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 56bba012d9729af8ff4252dc860f1f7696942f1a (diff) | |
download | bcm5719-llvm-505aa2410db6d089279da1a271903ce2633764f6.tar.gz bcm5719-llvm-505aa2410db6d089279da1a271903ce2633764f6.zip |
[Attr] Move ParsedTargetAttr out of the TargetAttr class
Need to forward declare it in ASTContext.h for D68627, so it can't be a nested struct.
Differential Revision: https://reviews.llvm.org/D71159
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index ffccbe2289d..3b63d7cdf91 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -2286,7 +2286,7 @@ void CodeGenFunction::checkTargetFeatures(SourceLocation Loc, // Get the required features for the callee. const TargetAttr *TD = TargetDecl->getAttr<TargetAttr>(); - TargetAttr::ParsedTargetAttr ParsedAttr = CGM.filterFunctionTargetAttrs(TD); + ParsedTargetAttr ParsedAttr = CGM.filterFunctionTargetAttrs(TD); SmallVector<StringRef, 1> ReqFeatures; llvm::StringMap<bool> CalleeFeatureMap; |