aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-01-01 09:14:23 -0800
committerKazu Hirata <kazu@google.com>2022-01-01 09:14:23 -0800
commit683e6ee7d04f01e068b5d17b54ac2395fb6bf554 (patch)
tree929a038d72300eb9979a19c74272c099992480a7 /clang/lib/CodeGen/CodeGenModule.h
parent491b4e1faaaffbf966f94ed61aba338988f4f3cc (diff)
downloadllvm-683e6ee7d04f01e068b5d17b54ac2395fb6bf554.zip
llvm-683e6ee7d04f01e068b5d17b54ac2395fb6bf554.tar.gz
llvm-683e6ee7d04f01e068b5d17b54ac2395fb6bf554.tar.bz2
[CodeGen] Remove redundant string initialization (NFC)
Identified with readability-redundant-string-init.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index f156551..7cb6935 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -311,7 +311,7 @@ private:
const TargetInfo &Target;
std::unique_ptr<CGCXXABI> ABI;
llvm::LLVMContext &VMContext;
- std::string ModuleNameHash = "";
+ std::string ModuleNameHash;
std::unique_ptr<CodeGenTBAA> TBAA;