This can be used as a way to modify argv[0] for a clang tool.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rL LLVM
 
Paths 
  |  Differential  D16718  
Add an optional ToolName argument to runToolOnCodeWithArgs/buildASTFromCodeWithArgs. ClosedPublic Authored by bkramer on Jan 29 2016, 2:44 AM. 
Details Summary This can be used as a way to modify argv[0] for a clang tool. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Jan 29 2016, 2:56 AM Closed by commit rL259187: Add an optional ToolName argument to… (authored by d0k).  ·  Explain WhyJan 29 2016, 3:33 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 46372 cfe/trunk/include/clang/Tooling/Tooling.h
 cfe/trunk/lib/Tooling/Tooling.cpp
 cfe/trunk/unittests/ASTMatchers/ASTMatchersTest.h
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||