diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2004-08-20 22:53:11 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2004-08-20 22:53:11 +0000 |
| commit | 7f9971f3499092037a9718bc49d2bde3ee0124ef (patch) | |
| tree | fb50417df821a32bd1c0f87faa03843374219b35 /llvm/tools/llvmc/CompilerDriver.cpp | |
| parent | abf3c4d787546012bf81d75fbd88211b45cceed9 (diff) | |
| download | bcm5719-llvm-7f9971f3499092037a9718bc49d2bde3ee0124ef.tar.gz bcm5719-llvm-7f9971f3499092037a9718bc49d2bde3ee0124ef.zip | |
Change @ -> % in config files. @name@ might be needed for config files to
themselves be configured via autoconf so its not a good substitition syntax
for llvmc. Furthermore % is more llvmish :)
llvm-svn: 15957
Diffstat (limited to 'llvm/tools/llvmc/CompilerDriver.cpp')
| -rw-r--r-- | llvm/tools/llvmc/CompilerDriver.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/tools/llvmc/CompilerDriver.cpp b/llvm/tools/llvmc/CompilerDriver.cpp index e176ee66c2c..c75c95428bf 100644 --- a/llvm/tools/llvmc/CompilerDriver.cpp +++ b/llvm/tools/llvmc/CompilerDriver.cpp @@ -212,20 +212,20 @@ CompilerDriver::Action* CompilerDriver::GetAction(ConfigData* cd, StringVector::iterator PI = pat->args.begin(); StringVector::iterator PE = pat->args.end(); while (PI != PE) { - if ((*PI)[0] == '@') { - if (*PI == "@in@") { + if ((*PI)[0] == '%') { + if (*PI == "%in%") { action->args.push_back(input); - } else if (*PI == "@out@") { + } else if (*PI == "%out%") { action->args.push_back(output); - } else if (*PI == "@time@") { + } else if (*PI == "%time%") { if (timePasses) action->args.push_back("-time-passes"); - } else if (*PI == "@stats@") { + } else if (*PI == "%stats%") { if (showStats) action->args.push_back("-stats"); - } else if (*PI == "@target@") { + } else if (*PI == "%target%") { // FIXME: Ignore for now - } else if (*PI == "@opt@") { + } else if (*PI == "%opt%") { if (!emitRawCode) { if (pat->isSet(GROKS_DASH_O)) { if (optLevel != OPT_NONE) { |

