diff options
author | Richard Trieu <rtrieu@google.com> | 2011-09-02 21:44:27 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2011-09-02 21:44:27 +0000 |
commit | 43dff1bdac7b2788ccbfa0b7be85e3aa0e20ac70 (patch) | |
tree | a5954e24364d2a0abd3a8ce76d549164a699a98e /lib/Sema/SemaExpr.cpp | |
parent | d295b8229c119e0f2b085874249437347084e320 (diff) |
Fix some indenting issues in SemaExpr.cpp
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139042 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExpr.cpp')
-rw-r--r-- | lib/Sema/SemaExpr.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp index 920406f262..91cc7a923e 100644 --- a/lib/Sema/SemaExpr.cpp +++ b/lib/Sema/SemaExpr.cpp @@ -6249,8 +6249,7 @@ static void diagnoseDistinctPointerComparison(Sema &S, SourceLocation Loc, /// \brief Returns false if the pointers are converted to a composite type, /// true otherwise. static bool convertPointersToCompositeType(Sema &S, SourceLocation Loc, - ExprResult &lex, - ExprResult &rex) { + ExprResult &lex, ExprResult &rex) { // C++ [expr.rel]p2: // [...] Pointer conversions (4.10) and qualification // conversions (4.4) are performed on pointer operands (or on @@ -6277,8 +6276,8 @@ static bool convertPointersToCompositeType(Sema &S, SourceLocation Loc, (lType->isMemberPointerType() && rType->isMemberPointerType())); bool NonStandardCompositeType = false; - QualType T = S.FindCompositePointerType(Loc, lex, rex, - S.isSFINAEContext() ? 0 : &NonStandardCompositeType); + bool *BoolPtr = S.isSFINAEContext() ? 0 : &NonStandardCompositeType; + QualType T = S.FindCompositePointerType(Loc, lex, rex, BoolPtr); if (T.isNull()) { diagnoseDistinctPointerComparison(S, Loc, lex, rex, /*isError*/true); return true; |