aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/CompilerInvocation.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-06-11 03:34:26 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-06-11 03:34:26 +0000
commit7ed25df166c68a3d67f0f05b0b7dd802c57adfb8 (patch)
tree693754b51dce4680d0c51cc82b457b12e43d331f /include/clang/Frontend/CompilerInvocation.h
parent3c2fcf8705023e1d91d1c85dc7c8a4aa2248050b (diff)
Const'ify CompilerInvocation::toArgs().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158298 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/CompilerInvocation.h')
-rw-r--r--include/clang/Frontend/CompilerInvocation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Frontend/CompilerInvocation.h b/include/clang/Frontend/CompilerInvocation.h
index 0d2260acbc..19cd5b72c6 100644
--- a/include/clang/Frontend/CompilerInvocation.h
+++ b/include/clang/Frontend/CompilerInvocation.h
@@ -127,7 +127,7 @@ public:
/// toArgs - Convert the CompilerInvocation to a list of strings suitable for
/// passing to CreateFromArgs.
- void toArgs(std::vector<std::string> &Res);
+ void toArgs(std::vector<std::string> &Res) const;
/// setLangDefaults - Set language defaults for the given input language and
/// language standard in this CompilerInvocation.