aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-05-04 10:51:40 -0700
committerGitHub <noreply@github.com>2025-05-04 10:51:40 -0700
commitf002f300c5e1f9ce8adf00441b7e879fec36a071 (patch)
tree2ae7a53c9449ba4b2e3fe8cfa921ea29ee95a4c7 /clang/lib/Frontend/InitPreprocessor.cpp
parent46c730656a03c2dd7127425d7319476caac17b0c (diff)
downloadllvm-f002f300c5e1f9ce8adf00441b7e879fec36a071.zip
llvm-f002f300c5e1f9ce8adf00441b7e879fec36a071.tar.gz
llvm-f002f300c5e1f9ce8adf00441b7e879fec36a071.tar.bz2
[clang] Remove unused local variables (NFC) (#138453)
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
-rw-r--r--clang/lib/Frontend/InitPreprocessor.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Frontend/InitPreprocessor.cpp b/clang/lib/Frontend/InitPreprocessor.cpp
index 1f297f2..e083c1a 100644
--- a/clang/lib/Frontend/InitPreprocessor.cpp
+++ b/clang/lib/Frontend/InitPreprocessor.cpp
@@ -974,7 +974,6 @@ static void InitializePredefinedMacros(const TargetInfo &TI,
if (LangOpts.ObjCRuntime.getKind() == ObjCRuntime::GNUstep) {
auto version = LangOpts.ObjCRuntime.getVersion();
- std::string versionString = "1";
// Don't rely on the tuple argument, because we can be asked to target
// later ABIs than we actually support, so clamp these values to those
// currently supported