[all-commits] [llvm/llvm-project] bd7e22: [NFC][TableGen] Fix namespace usage in various fil...
Rahul Joshi via All-commits
all-commits at lists.llvm.org
Fri Oct 3 09:27:26 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bd7e228fa43d7da93aef19892cd8a7de3350835e
https://github.com/llvm/llvm-project/commit/bd7e228fa43d7da93aef19892cd8a7de3350835e
Author: Rahul Joshi <rjoshi at nvidia.com>
Date: 2025-10-03 (Fri, 03 Oct 2025)
Changed paths:
M llvm/include/llvm/Support/X86DisassemblerDecoderCommon.h
M llvm/lib/TableGen/Error.cpp
M llvm/lib/TableGen/Main.cpp
M llvm/lib/TableGen/Record.cpp
M llvm/lib/TableGen/TGParser.cpp
M llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
M llvm/utils/TableGen/Common/CodeGenRegisters.cpp
M llvm/utils/TableGen/Common/InfoByHwMode.cpp
M llvm/utils/TableGen/Common/PredicateExpander.cpp
M llvm/utils/TableGen/DXILEmitter.cpp
M llvm/utils/TableGen/DecoderEmitter.cpp
M llvm/utils/TableGen/ExegesisEmitter.cpp
M llvm/utils/TableGen/FastISelEmitter.cpp
M llvm/utils/TableGen/X86DisassemblerShared.h
M llvm/utils/TableGen/X86FoldTablesEmitter.cpp
M llvm/utils/TableGen/X86InstrMappingEmitter.cpp
M llvm/utils/TableGen/X86MnemonicTables.cpp
M llvm/utils/TableGen/X86ModRMFilters.h
M llvm/utils/TableGen/X86RecognizableInstr.h
Log Message:
-----------
[NFC][TableGen] Fix namespace usage in various files (#161839)
- Move standalone functions and variables out of anonymous namespace and
make them static.
- Eliminate `namespace llvm {}` wrapping all code in .cpp files, and
instead use namespace qualifier to define such functions
(https://llvm.org/docs/CodingStandards.html#use-namespace-qualifiers-to-implement-previously-declared-functions)
- Add namespace for X86DisassemblerShared.h.
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