diff options
author | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2011-03-29 18:31:21 +0000 |
---|---|---|
committer | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2011-03-29 18:31:21 +0000 |
commit | 903dec2a0d96e4fc370050c204fe6aa27f29f6ab (patch) | |
tree | 4011559135e026e77d5791d696e32dd7c90200fe /examples | |
parent | dde385dd9b87b791736750114b2e0790195e373b (diff) |
Fixed build error.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128470 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r-- | examples/clang-interpreter/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/clang-interpreter/main.cpp b/examples/clang-interpreter/main.cpp index a99766f9a3..ad39ecec9b 100644 --- a/examples/clang-interpreter/main.cpp +++ b/examples/clang-interpreter/main.cpp @@ -85,8 +85,7 @@ int main(int argc, const char **argv, char * const *envp) { // (basically, exactly one input, and the operation mode is hard wired). llvm::SmallVector<const char *, 16> Args(argv, argv + argc); Args.push_back("-fsyntax-only"); - llvm::OwningPtr<Compilation> C(TheDriver.BuildCompilation(Args.size(), - Args.data())); + llvm::OwningPtr<Compilation> C(TheDriver.BuildCompilation(Args)); if (!C) return 0; |