summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2008-05-06 18:18:58 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2008-05-06 18:18:58 +0000
commite0ff9ae91e0490cb43ab05ca90416e6b03dffc18 (patch)
treedd8ee27eed2218a1bdb516350ec1d315745101bf /utils
parent29063554d057ed8aa6ae69b2719c62d24e00e469 (diff)
downloadllvm-e0ff9ae91e0490cb43ab05ca90416e6b03dffc18.tar.gz
llvm-e0ff9ae91e0490cb43ab05ca90416e6b03dffc18.tar.bz2
llvm-e0ff9ae91e0490cb43ab05ca90416e6b03dffc18.tar.xz
Change from llvm::SmallSet<std::string> to llvm::StringMap<char>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50766 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/LLVMCConfigurationEmitter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/TableGen/LLVMCConfigurationEmitter.cpp b/utils/TableGen/LLVMCConfigurationEmitter.cpp
index 5a7bf67c0a..d9d9fda8c8 100644
--- a/utils/TableGen/LLVMCConfigurationEmitter.cpp
+++ b/utils/TableGen/LLVMCConfigurationEmitter.cpp
@@ -948,8 +948,7 @@ bool EmitEdgePropertyTest1Arg(const std::string& PropName,
throw OptName + ": incorrect option type!";
O << OptDesc.GenVariableName();
return true;
- }
- else if (PropName == "if_input_languages_contain") {
+ } else if (PropName == "if_input_languages_contain") {
O << "InLangs.count(\"" << OptName << "\") != 0";
return true;
}