[PATCH] D108359: [clang][NFC] Fix needless double-parenthisation
Andy Wingo via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 21 08:03:50 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9ae4275557ca: [clang][NFC] Fix needless double-parenthisation (authored by wingo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108359/new/
https://reviews.llvm.org/D108359
Files:
clang/lib/Sema/TreeTransform.h
Index: clang/lib/Sema/TreeTransform.h
===================================================================
--- clang/lib/Sema/TreeTransform.h
+++ clang/lib/Sema/TreeTransform.h
@@ -4745,8 +4745,8 @@
SourceLocation Loc = TL.getBeginLoc();
Qualifiers Quals = TL.getType().getLocalQualifiers();
- if (((T.getAddressSpace() != LangAS::Default &&
- Quals.getAddressSpace() != LangAS::Default)) &&
+ if ((T.getAddressSpace() != LangAS::Default &&
+ Quals.getAddressSpace() != LangAS::Default) &&
T.getAddressSpace() != Quals.getAddressSpace()) {
SemaRef.Diag(Loc, diag::err_address_space_mismatch_templ_inst)
<< TL.getType() << T;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108359.373938.patch
Type: text/x-patch
Size: 668 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210921/e3e9a3d8/attachment-0001.bin>
More information about the cfe-commits
mailing list