diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2020-08-24 17:20:50 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2020-08-24 17:20:50 +0000 |
| commit | bdc6feb28f528ee3a365ca97577f7312ffa0dc65 (patch) | |
| tree | 8fc5cf6a8835cc178d70cd0ee29af2513f5c9161 /clang/lib/AST/ASTContext.cpp | |
| parent | 10c469f2ae76868106ec8bc8fbac13e0f26552f7 (diff) | |
Vendor import of llvm-project branch release/11.xvendor/llvm-project/llvmorg-11.0.0-rc2-0-g414f32a9e86
llvmorg-11.0.0-rc2-0-g414f32a9e86.
Notes
svn path=/vendor/llvm-project/release-11.x/; revision=364713
svn path=/vendor/llvm-project/llvmorg-11.0.0-rc2-0-g414f32a9e86/; revision=364714; tag=vendor/llvm-project/llvmorg-11.0.0-rc2-0-g414f32a9e86
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
| -rw-r--r-- | clang/lib/AST/ASTContext.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index 2ba643f12a82..e3798bb46e86 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/lib/AST/ASTContext.cpp @@ -11147,8 +11147,7 @@ void ASTContext::getFunctionFeatureMap(llvm::StringMap<bool> &FeatureMap, std::vector<std::string> Features(FeaturesTmp.begin(), FeaturesTmp.end()); Target->initFeatureMap(FeatureMap, getDiagnostics(), TargetCPU, Features); } else { - Target->initFeatureMap(FeatureMap, getDiagnostics(), TargetCPU, - Target->getTargetOpts().Features); + FeatureMap = Target->getTargetOpts().FeatureMap; } } |
