diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-12-24 01:08:34 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-12-24 01:08:34 +0000 | 
| commit | 13ddaa8416c02b81fbab9357336f4e70624b7652 (patch) | |
| tree | 7a0f6b255a547001b88203525cf7cd0e399acdf9 /contrib/llvm/tools/clang/lib/Sema/SemaOverload.cpp | |
| parent | da09e106efc76da569f2bad3d59b6b19b503bf39 (diff) | |
| parent | 6252156da5066bd47f63f8bd40404d1f89909d32 (diff) | |
Notes
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Sema/SemaOverload.cpp')
| -rw-r--r-- | contrib/llvm/tools/clang/lib/Sema/SemaOverload.cpp | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/llvm/tools/clang/lib/Sema/SemaOverload.cpp b/contrib/llvm/tools/clang/lib/Sema/SemaOverload.cpp index 268be9430a56..2144845f4dd3 100644 --- a/contrib/llvm/tools/clang/lib/Sema/SemaOverload.cpp +++ b/contrib/llvm/tools/clang/lib/Sema/SemaOverload.cpp @@ -5790,7 +5790,7 @@ ExprResult Sema::PerformContextualImplicitConversion(                                       HadMultipleCandidates,                                       ExplicitConversions))          return ExprError(); -    // fall through 'OR_Deleted' case. +      LLVM_FALLTHROUGH;      case OR_Deleted:        // We'll complain below about a non-integral condition type.        break; @@ -8651,7 +8651,7 @@ void Sema::AddBuiltinOperatorCandidates(OverloadedOperatorKind Op,    case OO_Plus: // '+' is either unary or binary      if (Args.size() == 1)        OpBuilder.addUnaryPlusPointerOverloads(); -    // Fall through. +    LLVM_FALLTHROUGH;    case OO_Minus: // '-' is either unary or binary      if (Args.size() == 1) { @@ -8682,7 +8682,7 @@ void Sema::AddBuiltinOperatorCandidates(OverloadedOperatorKind Op,    case OO_EqualEqual:    case OO_ExclaimEqual:      OpBuilder.addEqualEqualOrNotEqualMemberPointerOrNullptrOverloads(); -    // Fall through. +    LLVM_FALLTHROUGH;    case OO_Less:    case OO_Greater: @@ -8719,12 +8719,12 @@ void Sema::AddBuiltinOperatorCandidates(OverloadedOperatorKind Op,    case OO_Equal:      OpBuilder.addAssignmentMemberPointerOrEnumeralOverloads(); -    // Fall through. +    LLVM_FALLTHROUGH;    case OO_PlusEqual:    case OO_MinusEqual:      OpBuilder.addAssignmentPointerOverloads(Op == OO_Equal); -    // Fall through. +    LLVM_FALLTHROUGH;    case OO_StarEqual:    case OO_SlashEqual:  | 
