[all-commits] [llvm/llvm-project] 3d4e5d: [NFC][LLLexer] Consistently initialize *Val fields
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Thu May 11 19:10:59 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3d4e5d2ad911182ae5bb797b44747fb3656a3c48
https://github.com/llvm/llvm-project/commit/3d4e5d2ad911182ae5bb797b44747fb3656a3c48
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2023-05-11 (Thu, 11 May 2023)
Changed paths:
M llvm/include/llvm/AsmParser/LLLexer.h
M llvm/lib/AsmParser/LLLexer.cpp
Log Message:
-----------
[NFC][LLLexer] Consistently initialize *Val fields
LLParser::parseInstruction speculatively getUIntVal()
but uses that only in some branches.
APFloatVal, TyVal and StrVal were already initialized, when
UIntVal and APSIntVal were not.
More information about the All-commits
mailing list