Replaced commonly used code patterns with shorter ones.
For example:
Parser.getTok().getLoc() --> getLoc() Parser.getTok().getString() --> getTokenStr() getLexer().getKind() == T --> isToken(T)
Paths
| Differential D93756
[AMDGPU][MC][NFC] Parser refactoring ClosedPublic Authored by dp on Dec 23 2020, 3:37 AM.
Details
Summary Replaced commonly used code patterns with shorter ones. Parser.getTok().getLoc() --> getLoc() Parser.getTok().getString() --> getTokenStr() getLexer().getKind() == T --> isToken(T)
Diff Detail
Event TimelineHerald added subscribers: kerbowa, hiraditya, t-tye and 7 others. · View Herald TranscriptDec 23 2020, 3:37 AM This revision is now accepted and ready to land.Dec 23 2020, 9:45 AM Closed by commit rG5b17263b6b9d: [AMDGPU][MC][NFC] Parser refactoring (authored by dp). · Explain WhyDec 28 2020, 5:00 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 313844 llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
|