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 | 53aa793721ee1d5d3c025bcc4a11fc770565d828 (patch) | |
tree | f44751364b3549d8b145df982553a3ffd08abb49 /tools/llvmc/CompilerDriver.cpp | |
parent | b65eadb7f50c3e4c67efea4901e96b334d69700e (diff) |
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 :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15957 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc/CompilerDriver.cpp')
-rw-r--r-- | tools/llvmc/CompilerDriver.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/llvmc/CompilerDriver.cpp b/tools/llvmc/CompilerDriver.cpp index e176ee66c2..c75c95428b 100644 --- a/tools/llvmc/CompilerDriver.cpp +++ b/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) { |