Skip to content

Commit

Permalink
Compiler: account for clang::CompilerInvocation::CreateFromArgs()'s n…
Browse files Browse the repository at this point in the history
…ew signature (#2314).
  • Loading branch information
agarny committed Apr 1, 2020
1 parent 95d3210 commit 248ff7a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/plugins/miscellaneous/Compiler/src/compilerengine.cpp
Expand Up @@ -232,8 +232,7 @@ bool CompilerEngine::compileCode(const QString &pCode)
std::unique_ptr<clang::CompilerInvocation> compilerInvocation(new clang::CompilerInvocation());

clang::CompilerInvocation::CreateFromArgs(*compilerInvocation,
commandArguments.data(),
commandArguments.data()+commandArguments.size(),
commandArguments,
diagnosticsEngine);

// Map our dummy file to a memory buffer
Expand Down

0 comments on commit 248ff7a

Please sign in to comment.