aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorEduardo Caldas <ecaldas@google.com>2020-06-15 17:08:39 +0000
committerEduardo Caldas <ecaldas@google.com>2020-07-10 16:21:11 +0000
commitf33c2c27a8d4ea831aa7c2c2649066be91318d85 (patch)
tree1824386289595d9de6ec3af9dc83c83e01612a3b /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parente5123ea248eb460c6695dc28ed2f1cc53495356b (diff)
downloadllvm-f33c2c27a8d4ea831aa7c2c2649066be91318d85.zip
llvm-f33c2c27a8d4ea831aa7c2c2649066be91318d85.tar.gz
llvm-f33c2c27a8d4ea831aa7c2c2649066be91318d85.tar.bz2
Fix crash on `user defined literals`
Summary: Given an UserDefinedLiteral `1.2_w`: Problem: Lexer generates one Token for the literal, but ClangAST references two source locations Fix: Ignore the operator and interpret it as the underlying literal. e.g.: `1.2_w` token generates syntax node IntegerLiteral(1.2_w) Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82157
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions