[cfe-dev] [clangd] Invalid AST in header when cpp file uses /TP

Hamza Sood via cfe-dev cfe-dev at lists.llvm.org
Mon Aug 27 06:11:22 PDT 2018


Looks like that’s caused by the TransferableCommand constructor, which parses the command line and then renders it back to a string. The parsing un-aliases options which means that the rendered command is incorrect when fed back to clang-cl.


More information about the cfe-dev mailing list