Add support for many parameters to the SEGMENT directive
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks great, thanks :)
llvm/lib/MC/MCParser/COFFMasmParser.cpp | ||
---|---|---|
190 | If you use git clang-format main or git clang-format HEAD~, it'll only format lines you touched, not unrelated lines. If you do want to reformat these lines, land this in an unrelated change. | |
261 | nit: add tailing . | |
349 | Should we warn on unknown classes? |
Comment Actions
Removing another accidental reformat
llvm/lib/MC/MCParser/COFFMasmParser.cpp | ||
---|---|---|
349 | Strangely, I don't think so - my testing suggests that ML64.EXE treats any unknown class as equivalent to DATA. |
llvm/lib/MC/MCParser/COFFMasmParser.cpp | ||
---|---|---|
333 | My bot remarks: ../../llvm/lib/MC/MCParser/COFFMasmParser.cpp(333,28): warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (Characteristic == -1) { ~~~~~~~~~~~~~~ ^ ~~ Either use static_cast<unsigned>(-1) or UINT_MAX. |
If you use git clang-format main or git clang-format HEAD~, it'll only format lines you touched, not unrelated lines.
If you do want to reformat these lines, land this in an unrelated change.