From: Chandler Carruth Date: Sun, 1 May 2011 08:48:19 +0000 (+0000) Subject: Remove an inapplicable and completely out of place comment. The type is in fact ... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7ef00048d0a3f6079d82e00a9a8dba92179b9a8;p=clang Remove an inapplicable and completely out of place comment. The type is in fact 'bool'. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130652 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaExprCXX.cpp b/lib/Sema/SemaExprCXX.cpp index 9f1329717f..2ad59e74f2 100644 --- a/lib/Sema/SemaExprCXX.cpp +++ b/lib/Sema/SemaExprCXX.cpp @@ -3030,7 +3030,7 @@ ExprResult Sema::BuildExpressionTrait(ExpressionTrait ET, } bool Value = EvaluateExpressionTrait(ET, Queried); - // C99 6.5.3.4p4: the type (an unsigned integer type) is size_t. + return Owned(new (Context) ExpressionTraitExpr(KWLoc, ET, Queried, Value, RParen, Context.BoolTy)); }