summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaCodeComplete.cpp
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2018-12-13 17:23:48 +0000
committerIlya Biryukov <ibiryukov@google.com>2018-12-13 17:23:48 +0000
commit67dbeb6c6a047f394be1eed8cacfeede0938e60f (patch)
tree59805607ab5b2308b0eabc6b6a778272db9e73cd /clang/lib/Sema/SemaCodeComplete.cpp
parent91e69d8a929c25fb94c6f3b8efe2160d987e5562 (diff)
downloadbcm5719-llvm-67dbeb6c6a047f394be1eed8cacfeede0938e60f.tar.gz
bcm5719-llvm-67dbeb6c6a047f394be1eed8cacfeede0938e60f.zip
[CodeComplete] Temporarily disable failing assertion
Found the case in the clang codebase where the assertion fires. To avoid crashing assertion-enabled builds before I re-add the missing operation. Will restore the assertion alongside the upcoming fix. llvm-svn: 349061
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
-rw-r--r--clang/lib/Sema/SemaCodeComplete.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaCodeComplete.cpp b/clang/lib/Sema/SemaCodeComplete.cpp
index 645830b4886..773dd46ac46 100644
--- a/clang/lib/Sema/SemaCodeComplete.cpp
+++ b/clang/lib/Sema/SemaCodeComplete.cpp
@@ -4949,7 +4949,8 @@ static QualType getPreferredTypeOfBinaryRHS(Sema &S, Expr *LHS,
case tok::arrowstar:
return QualType();
default:
- assert(false && "unhandled binary op");
+ // FIXME(ibiryukov): handle the missing op, re-add the assertion.
+ // assert(false && "unhandled binary op");
return QualType();
}
}
OpenPOWER on IntegriCloud