-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Closed
Closed
Copy link
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"confirmedVerified by a second partyVerified by a second partycrashPrefer [crash-on-valid] or [crash-on-invalid]Prefer [crash-on-valid] or [crash-on-invalid]
Description
| Bugzilla Link | 27069 |
| Version | trunk |
| OS | Linux |
| Attachments | source file, generated cpp, generated sh, crash report |
| Reporter | LLVM Bugzilla Contributor |
| CC | @hfinkel,@dobbelaj-snps |
Extended Description
Clang crashing with error:
clang-3.9: /mnt/src/llvm/llvm/tools/clang/lib/Sema/SemaOverload.cpp:11829: clang::ExprResult clang::Sema::CreateOverloadedBinOp(clang::SourceLocation, clang::BinaryOperatorKind, const clang::UnresolvedSetImpl&, clang::Expr*, clang::Expr*): Assertion `Result.isInvalid() && "C++ binary operator overloading is missing candidates!"' failed.
Command to build file: clang-3.9 -o test.o -x c++ test.cpp
Attached source file and generated .sh and .cpp
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"confirmedVerified by a second partyVerified by a second partycrashPrefer [crash-on-valid] or [crash-on-invalid]Prefer [crash-on-valid] or [crash-on-invalid]