mirror of
https://github.com/libAthena/athena.git
synced 2025-05-13 10:51:34 +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)
|
||||
llvm::cl::PrintHelpMessage();
|
||||
|
||||
if (argc > 1)
|
||||
{
|
||||
llvm::IntrusiveRefCntPtr<clang::FileManager> fman(new clang::FileManager(clang::FileSystemOptions()));
|
||||
std::vector<std::string> args = {"clang-tool",
|
||||
"-fsyntax-only",
|
||||
@ -356,7 +354,6 @@ int main(int argc, const char** argv)
|
||||
clang::tooling::ToolInvocation TI(args, new ATDNAAction, fman.get());
|
||||
if (TI.run())
|
||||
return 0;
|
||||
}
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user