commit | b0387308d8801b646898c6e209e5875e4fd1bc88 | [log] [tgz] |
---|---|---|
author | Mikhail Glushenkov <foldr@codedgers.com> | Tue May 06 18:18:58 2008 +0000 |
committer | Mikhail Glushenkov <foldr@codedgers.com> | Tue May 06 18:18:58 2008 +0000 |
tree | dd8ee27eed2218a1bdb516350ec1d315745101bf | |
parent | dfcad6c1c44f9d20ade7da5e6caea0e1b0b99d47 [diff] [blame] |
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
diff --git a/utils/TableGen/LLVMCConfigurationEmitter.cpp b/utils/TableGen/LLVMCConfigurationEmitter.cpp index 5a7bf67..d9d9fda 100644 --- a/utils/TableGen/LLVMCConfigurationEmitter.cpp +++ b/utils/TableGen/LLVMCConfigurationEmitter.cpp
@@ -948,8 +948,7 @@ 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; }