diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-06-11 03:34:26 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-06-11 03:34:26 +0000 |
commit | ff32674d3ad676d3cb23e9ca2f592a4fff729c1f (patch) | |
tree | 6c3a8e46636e4e72de7faa540584df80d38fdec1 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8b8a76974f1498a7a1d24292de9ce6f1e869c615 (diff) | |
download | bcm5719-llvm-ff32674d3ad676d3cb23e9ca2f592a4fff729c1f.tar.gz bcm5719-llvm-ff32674d3ad676d3cb23e9ca2f592a4fff729c1f.zip |
Const'ify CompilerInvocation::toArgs().
llvm-svn: 158298
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 35ffe4941cb..99c338c8760 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -896,7 +896,7 @@ static void TargetOptsToArgs(const TargetOptions &Opts, Res.push_back("-target-feature", Opts.Features[i]); } -void CompilerInvocation::toArgs(std::vector<std::string> &Res) { +void CompilerInvocation::toArgs(std::vector<std::string> &Res) const { ToArgsList List(Res); AnalyzerOptsToArgs(getAnalyzerOpts(), List); CodeGenOptsToArgs(getCodeGenOpts(), List); |