reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaInit.cpp
 8698   if (Args.size() == 1) {
 8699     auto *List = dyn_cast<InitListExpr>(Args[0]);
 8703       OnlyArg = Args[0];
 8712     if (Args.empty()) {
 8724           << SourceRange(Args.front()->getBeginLoc(), Args.back()->getEndLoc());
 8724           << SourceRange(Args.front()->getBeginLoc(), Args.back()->getEndLoc());
 8728       << 1 << Entity.getType() << Args[0]->getSourceRange();
 8753     S.Diag(Args.front()->getBeginLoc(),
 8755         << FixItHint::CreateInsertion(Args.front()->getBeginLoc(), "u8");
 8770       << Args[0]->getSourceRange();
 8775       << Args[0]->getSourceRange();
 8805                      << Args[0]->getSourceRange())
 8808                      << Args[0]->getSourceRange())),
 8809           S, OCD_AmbiguousCandidates, Args);
 8813       auto Cands = FailedCandidateSet.CompleteCandidates(S, OCD_AllCandidates, Args);
 8817                                OnlyArg->getType(), Args[0]->getSourceRange()))
 8820           << OnlyArg->getType() << Args[0]->getSourceRange()
 8823       FailedCandidateSet.NoteCandidates(S, Args, Cands);
 8829         << Args[0]->getSourceRange();
 8847     if (isa<InitListExpr>(Args[0])) {
 8852       << Args[0]->getSourceRange();
 8865       << Args[0]->getSourceRange();
 8870     FieldDecl *BitField = Args[0]->getSourceBitField();
 8875       << Args[0]->getSourceRange();
 8884       << Args[0]->getSourceRange();
 8890       << Args[0]->getSourceRange();
 8895         << DestType << Args[0]->getSourceRange();
 8908           << Args[0]->getSourceRange();
 8913           << DroppedQualifiers.getCVRQualifiers() << Args[0]->getSourceRange();
 8923       << Args[0]->getSourceRange();
 8924     emitBadConversionNotes(S, Entity, Args[0]);
 8934       << Args[0]->getSourceRange();
 8937     emitBadConversionNotes(S, Entity, Args[0]);
 8948     auto *InitList = dyn_cast<InitListExpr>(Args[0]);
 8952       assert(Args.size() > 1 && "Expected multiple initializers!");
 8953       R = SourceRange(Args.front()->getEndLoc(), Args.back()->getEndLoc());
 8953       R = SourceRange(Args.front()->getEndLoc(), Args.back()->getEndLoc());
 8968       << 0 << Entity.getType() << Args[0]->getSourceRange();
 8973       << DestType.getNonReferenceType() << Args[0]->getSourceRange();
 8978       << (DestType->isRecordType()) << DestType << Args[0]->getSourceRange();
 8984     if (Args.size())
 8986           SourceRange(Args.front()->getBeginLoc(), Args.back()->getEndLoc());
 8986           SourceRange(Args.front()->getBeginLoc(), Args.back()->getEndLoc());
 8989       assert(Args.size() == 1 &&
 8991       InitListExpr *InitList = cast<InitListExpr>(Args[0]);
 8992       Args = MultiExprArg(InitList->getInits(), InitList->getNumInits());
 9003             S, OCD_AmbiguousCandidates, Args);
 9057             S, OCD_AllCandidates, Args);
 9120     InitListExpr *InitList = cast<InitListExpr>(Args[0]);
 9132       << Args[0]->getSourceRange();