diff options
author | Kazu Hirata <kazu@google.com> | 2022-01-09 00:19:47 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-01-09 00:19:47 -0800 |
commit | 40446663c73831f166c4432edb2997d88fd167a9 (patch) | |
tree | aab09c69baaed6d7db2d82ae84f4708f44b1dc15 /clang/lib/CodeGen/TargetInfo.cpp | |
parent | 4cd768ed5e735da5f97be22c6da9483a39e20f3d (diff) | |
download | llvm-40446663c73831f166c4432edb2997d88fd167a9.zip llvm-40446663c73831f166c4432edb2997d88fd167a9.tar.gz llvm-40446663c73831f166c4432edb2997d88fd167a9.tar.bz2 |
[clang] Use true/false instead of 1/0 (NFC)
Identified with modernize-use-bool-literals.
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.cpp')
-rw-r--r-- | clang/lib/CodeGen/TargetInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp index d0ba4e4..bc18b71 100644 --- a/clang/lib/CodeGen/TargetInfo.cpp +++ b/clang/lib/CodeGen/TargetInfo.cpp @@ -1606,7 +1606,7 @@ static bool isSIMDVectorType(ASTContext &Context, QualType Ty) { static bool isRecordWithSIMDVectorType(ASTContext &Context, QualType Ty) { const RecordType *RT = Ty->getAs<RecordType>(); if (!RT) - return 0; + return false; const RecordDecl *RD = RT->getDecl(); // If this is a C++ record, check the bases first. |