mirror of
https://github.com/libAthena/athena.git
synced 2025-05-13 19:01:23 +00:00
minor tweak
This commit is contained in:
parent
0452e34150
commit
775b51fd00
@ -343,8 +343,6 @@ int main(int argc, const char** argv)
|
|||||||
if (Help)
|
if (Help)
|
||||||
llvm::cl::PrintHelpMessage();
|
llvm::cl::PrintHelpMessage();
|
||||||
|
|
||||||
if (argc > 1)
|
|
||||||
{
|
|
||||||
llvm::IntrusiveRefCntPtr<clang::FileManager> fman(new clang::FileManager(clang::FileSystemOptions()));
|
llvm::IntrusiveRefCntPtr<clang::FileManager> fman(new clang::FileManager(clang::FileSystemOptions()));
|
||||||
std::vector<std::string> args = {"clang-tool",
|
std::vector<std::string> args = {"clang-tool",
|
||||||
"-fsyntax-only",
|
"-fsyntax-only",
|
||||||
@ -356,7 +354,6 @@ int main(int argc, const char** argv)
|
|||||||
clang::tooling::ToolInvocation TI(args, new ATDNAAction, fman.get());
|
clang::tooling::ToolInvocation TI(args, new ATDNAAction, fman.get());
|
||||||
if (TI.run())
|
if (TI.run())
|
||||||
return 0;
|
return 0;
|
||||||
}
|
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user