forked from OSchip/llvm-project
Fixes compilation with Visual Studio by replacing the non-standard vector::data() access.
llvm-svn: 131116
This commit is contained in:
parent
6d5b96c6b3
commit
ffecc6b9c2
|
@ -96,8 +96,8 @@ int main(int argc, char **argv) {
|
|||
if (!clang::tooling::RunToolWithFlags(
|
||||
new clang::SyntaxOnlyAction,
|
||||
LookupResult.CommandLine.size(),
|
||||
clang::tooling::CommandLineToArgv(
|
||||
&LookupResult.CommandLine).data())) {
|
||||
&clang::tooling::CommandLineToArgv(
|
||||
&LookupResult.CommandLine)[0])) {
|
||||
llvm::outs() << "Error while processing " << File << ".\n";
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue