aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2025-04-04 21:04:05 -0700
committerFangrui Song <i@maskray.me>2025-04-04 21:04:06 -0700
commitb6a96183015e99ec554f7a6b8c35a0e679b8ba39 (patch)
treec914007214e1957250f629f20db17d1a082c2acf /clang/lib/Basic/SourceManager.cpp
parent1d7bd3bc5c4f085dfa4443ea3fbab46356ab0a8e (diff)
downloadllvm-b6a96183015e99ec554f7a6b8c35a0e679b8ba39.zip
llvm-b6a96183015e99ec554f7a6b8c35a0e679b8ba39.tar.gz
llvm-b6a96183015e99ec554f7a6b8c35a0e679b8ba39.tar.bz2
[MCParser] Rename confusing variable names
https://reviews.llvm.org/D24047 added `IsAtStartOfStatement` to MCAsmLexer, while its subclass AsmLexer had a variable of the same name. The assignment in `UnLex` is unnecessary, which is now removed. 60b403e75cd25a0c76aaaf4e6b176923acf49443 (2019) named the result `parseStatement` `Parsed`. `HasError` is a clearer name.
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions