aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorMin-Yih Hsu <min.hsu@sifive.com>2025-10-08 14:10:21 -0700
committerGitHub <noreply@github.com>2025-10-08 14:10:21 -0700
commit86ad98c37aee575bc21460a367f3e9b824f289cb (patch)
treea709e93b79fa75dc4239f7d070f4e2cb1ed561ba /clang/lib/Frontend/InitPreprocessor.cpp
parentcc14b589659b6c6c9fb65de7a274287f2490d345 (diff)
downloadllvm-86ad98c37aee575bc21460a367f3e9b824f289cb.zip
llvm-86ad98c37aee575bc21460a367f3e9b824f289cb.tar.gz
llvm-86ad98c37aee575bc21460a367f3e9b824f289cb.tar.bz2
[clang][Driver][RISCV] Rename `getRISCFeaturesFromMcpu`. NFCI (#162545)
This function, which has a typo in the name btw, is no longer doing what it was created to do: instead of deducting non-extension target features from `-mcpu` -- a task that was (more or less) subsumed by `riscv::getRISCVTargetFeatures` -- it is only checking if the `-mcpu` value is valid or not now. Therefore, this patch renames it into `isValidRISCVCPU` and exits early if it's not. NFCI.
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions