From 60de3632d22ca52fab67d5d8b13af6824e16c98a Mon Sep 17 00:00:00 2001 From: Nathan Wilson Date: Thu, 12 Nov 2015 04:25:03 +0000 Subject: [PATCH] [Sema] Remove unnecessary parens in check using logical or; NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@252855 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaDecl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index 02f96ec0d1..172952e8ca 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -7612,7 +7612,7 @@ Sema::ActOnFunctionDeclarator(Scope *S, Declarator &D, DeclContext *DC, // following restrictions: // - The declaration's parameter list shall be equivalent to an empty // parameter list. - if ((FPT->getNumParams() > 0) || (FPT->isVariadic())) + if (FPT->getNumParams() > 0 || FPT->isVariadic()) Diag(NewFD->getLocation(), diag::err_function_concept_with_params); } -- 2.50.1