[PATCH] D118105: [Visualizers] Fix SmallVector visualizer. Use `value_type` instead of `$T1`.
Marek Kurdej via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 25 03:08:03 PST 2022
curdeius added a comment.
Oh, natvis diagnostics enabled shows an error:
Natvis: E:\src\llvm-project\llvm\utils\LLVMVisualizers\llvm.natvis(30,23): Error: identifier "clang::format::`anonymous namespace'" is undefined
Error while evaluating '(clang::format::`anonymous namespace'::AnnotatingParser::Context*)BeginX' in the context of type 'FormatTests.exe!llvm::SmallVectorImpl<clang::format::`anonymous namespace'::AnnotatingParser::Context>'.
so the anonymous namespace is making things fail.
To my understanding, it's probably because `$T1` works like a macro, so a textual replacement...
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118105/new/
https://reviews.llvm.org/D118105
More information about the llvm-commits
mailing list