summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2008-09-22 20:48:22 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2008-09-22 20:48:22 +0000
commit4825a0bb2f5b0746df04eba00a41fbc51bc203ae (patch)
treeacfc34545401da8ab33e9a1608cc32e052bf263f /llvm/utils
parent8a2bdc74b2217e1004cda962384fa16f045d6bb8 (diff)
downloadbcm5719-llvm-4825a0bb2f5b0746df04eba00a41fbc51bc203ae.tar.gz
bcm5719-llvm-4825a0bb2f5b0746df04eba00a41fbc51bc203ae.zip
Make comments a little bit more clear.
llvm-svn: 56463
Diffstat (limited to 'llvm/utils')
-rw-r--r--llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp b/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp
index 133415bf73b..9bfb5da88f9 100644
--- a/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp
+++ b/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp
@@ -826,8 +826,10 @@ bool EmitCaseTest1Arg(const std::string& TestName,
O << "InLangs.count(\"" << OptName << "\") != 0";
return true;
} else if (TestName == "in_language") {
- // TODO: remove this restriction
- // Works only for cmd_line!
+ // This works only for single-argument Tool::GenerateAction. Join
+ // tools can process several files in different languages simultaneously.
+
+ // TODO: make this work with Edge::Weight (if possible).
O << "LangMap.GetLanguage(inFile) == \"" << OptName << '\"';
return true;
} else if (TestName == "not_empty") {
OpenPOWER on IntegriCloud