[all-commits] [llvm/llvm-project] 1b1dc5: [MCParser] Improve parseIntToken error message
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sat Mar 1 19:37:23 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1b1dc505057322f4fa1110ef4f53c44347f52986
https://github.com/llvm/llvm-project/commit/1b1dc505057322f4fa1110ef4f53c44347f52986
Author: Fangrui Song <i at maskray.me>
Date: 2025-03-01 (Sat, 01 Mar 2025)
Changed paths:
M llvm/include/llvm/MC/MCParser/MCAsmParser.h
M llvm/lib/MC/MCParser/AsmParser.cpp
M llvm/lib/MC/MCParser/MCAsmParserExtension.cpp
M llvm/test/MC/AsmParser/directive_loc.s
M llvm/test/MC/COFF/cv-errors.s
Log Message:
-----------
[MCParser] Improve parseIntToken error message
Add a default argument, which is more readable than existing call sites
and encourages new call sites to omit the argument.
Omit " in ... directive" since this the error message includes the line.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list