[PATCH] D63759: [clangd] Don't rename the namespace.
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 25 04:31:45 PDT 2019
hokein added inline comments.
================
Comment at: clang-tools-extra/clangd/unittests/RenameTests.cpp:137
+ // Parsing the .h file as C++ include.
+ TU.ExtraArgs.push_back("-xobjective-c++-header");
auto AST = TU.build();
----------------
sammccall wrote:
> (why this change?)
for the cases here, we want the main file treat as a header file, using `-xc++` here would make clang treat it as a `.cc` file.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63759/new/
https://reviews.llvm.org/D63759
More information about the cfe-commits
mailing list