[PATCH] D82157: Fix crash on `user defined literals`
Eduardo Caldas via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 9 10:24:15 PDT 2020
eduucaldas marked an inline comment as done.
eduucaldas added inline comments.
================
Comment at: clang/lib/Tooling/Syntax/BuildTree.cpp:736
+ auto TokSpelling =
+ Builder.findToken(TokLoc)->text(Context.getSourceManager());
+ auto Literal = NumericLiteralParser{TokSpelling,
----------------
Not sure if text is the right thing to get a `TokenSpelling` from a `syntax::Token`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82157/new/
https://reviews.llvm.org/D82157
More information about the cfe-commits
mailing list