diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-05-19 18:41:43 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-05-19 18:41:43 +0000 |
commit | 8f43d52b46b600b2eb4e62550f7a6d7a78fd001b (patch) | |
tree | 04b6826a6907d8d97b2f0558550c2135c05f530c | |
parent | 60e7064d78f1a29cf969f255a19a9ae25e6bc128 (diff) |
Fill in some silly defaults to silence a GCC warning
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104140 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/AST/StmtProfile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/AST/StmtProfile.cpp b/lib/AST/StmtProfile.cpp index efa6f6f74a..ac3a9eeda6 100644 --- a/lib/AST/StmtProfile.cpp +++ b/lib/AST/StmtProfile.cpp @@ -621,8 +621,8 @@ void StmtProfiler::VisitCXXOperatorCallExpr(CXXOperatorCallExpr *S) { if (S->isTypeDependent()) { // Type-dependent operator calls are profiled like their underlying // syntactic operator. - UnaryOperator::Opcode UnaryOp; - BinaryOperator::Opcode BinaryOp; + UnaryOperator::Opcode UnaryOp = UnaryOperator::Extension; + BinaryOperator::Opcode BinaryOp = BinaryOperator::Comma; Stmt::StmtClass SC = DecodeOperatorCall(S, UnaryOp, BinaryOp); ID.AddInteger(SC); |