aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2025-06-15 11:52:43 -0700
committerFangrui Song <i@maskray.me>2025-06-15 11:52:43 -0700
commit72de33a406383cb8555234c40e7b31db593e164f (patch)
tree347419f946bf791a735f9e260269a54e64f8c0c2 /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
parent254a92d49a4c1e1f7f747b1c2f1ccbfd7f217880 (diff)
downloadllvm-72de33a406383cb8555234c40e7b31db593e164f.zip
llvm-72de33a406383cb8555234c40e7b31db593e164f.tar.gz
llvm-72de33a406383cb8555234c40e7b31db593e164f.tar.bz2
MC: Add MCAsmInfo::evaluateAsRelocatableImpl and replace VEMCExpr with MCSpecifierExpr
Expressions with specifier can only be folded during relocation generatin. At parse time the `MCAssembler *` argument might be null, and targets should not rely on the evaluateAsRelocatable result. Therefore, we can move evaluateAsRelocatableImpl from MCSpecifierExpr to MCAsmInfo, so that targets do not need to inherit from MCSpecifierExpr.
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions