aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorAlexandros Lamprineas <alexandros.lamprineas@arm.com>2025-07-22 13:11:43 +0100
committerGitHub <noreply@github.com>2025-07-22 13:11:43 +0100
commitda06b45d27f70485857dae6a1298350045dc25bd (patch)
tree00d7c9fd5ebff249084023f3b09ef6468a37a497 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent54b50681ca0fd1c0c6ddb059c88981a45e2f1b19 (diff)
downloadllvm-da06b45d27f70485857dae6a1298350045dc25bd.zip
llvm-da06b45d27f70485857dae6a1298350045dc25bd.tar.gz
llvm-da06b45d27f70485857dae6a1298350045dc25bd.tar.bz2
[NFC][Clang][FMV] Refactor sema checking of target_version/clones attributes. (#149067)
Sema currently has checkTargetVersionAttr and checkTargetClonesAttrString to diagnose the said attributes. However the code tries to handle all of AArch64, RISC-V and X86 targets at once which is hard to maintain, therefore I am splitting these functions. Unfortunately I could not use polymorphism because all of Sema, SemaARM, SemaRISCV and SemaX86 inherit from SemaBase. The Sema instance itself contains instances of every other target specific Sema.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions