diff options
author | Eric Christopher <echristo@gmail.com> | 2015-08-27 20:05:48 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2015-08-27 20:05:48 +0000 |
commit | 3751bce2a9be5e6c98a13e3a977f91888c83c226 (patch) | |
tree | 312ac5bb18b1bbd6cf09526d38ee1a274ebfcd6b /clang/lib/CodeGen/CGCall.cpp | |
parent | 5d2db529cbbc269e4d6460fd059c07838266dad8 (diff) | |
download | bcm5719-llvm-3751bce2a9be5e6c98a13e3a977f91888c83c226.tar.gz bcm5719-llvm-3751bce2a9be5e6c98a13e3a977f91888c83c226.zip |
Target attribute syntax compatibility fix - gcc uses no- rather than mno-.
llvm-svn: 246197
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGCall.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index eff9fde8393..4cb9ebae3af 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/lib/CodeGen/CGCall.cpp @@ -1528,7 +1528,7 @@ void CodeGenModule::ConstructAttributeList(const CGFunctionInfo &FI, // overall feature validity for the function with the rest of the // attributes on the function. ; - else if (Feature.startswith("mno-")) + else if (Feature.startswith("no-")) FnFeatures.push_back("-" + Feature.split("-").second.str()); else FnFeatures.push_back("+" + Feature.str()); |