Home | History | Annotate | Download | only in Sema

Lines Matching refs:getLangOptions

169           !(getLangOptions().CPlusPlus && NewSSPtr &&
176 std::string CorrectedStr(Correction.getAsString(getLangOptions()));
178 Correction.getQuoted(getLangOptions()));
347 std::string CorrectedStr(Corrected.getAsString(getLangOptions()));
348 std::string CorrectedQuotedStr(Corrected.getQuoted(getLangOptions()));
383 if (getLangOptions().CPlusPlus) {
413 if (getLangOptions().MicrosoftMode && isMicrosoftMissingTypename(SS, S))
432 bool CheckTemplate = R.getSema().getLangOptions().CPlusPlus &&
484 if (getLangOptions().CPlusPlus)
509 if (!getLangOptions().CPlusPlus && !SecondTry) {
538 << Name << TagName << getLangOptions().CPlusPlus
554 std::string CorrectedStr(Corrected.getAsString(getLangOptions()));
555 std::string CorrectedQuotedStr(Corrected.getQuoted(getLangOptions()));
560 if (getLangOptions().CPlusPlus && NextToken.is(tok::less) &&
640 if (getLangOptions().CPlusPlus && NextToken.is(tok::less) &&
664 if (getLangOptions().CPlusPlus && NextToken.is(tok::less) &&
867 if (Context.getLangOptions().CPlusPlus)
894 if ((getLangOptions().CPlusPlus || isa<VarDecl>(D) || isa<FunctionDecl>(D)) &&
1144 tok::colon, Ctx.getSourceManager(), Ctx.getLangOptions(), true);
1276 (S->isClassScope() && !getLangOptions().CPlusPlus))
1371 if (getLangOptions().ObjC1) {
1453 if (getLangOptions().MicrosoftExt)
1456 if (getLangOptions().CPlusPlus) {
1690 !canRedefineFunction(Old, getLangOptions())) {
1691 if (getLangOptions().MicrosoftExt) {
1773 if (getLangOptions().CPlusPlus) {
1885 if (!getLangOptions().CPlusPlus &&
1937 if (!getLangOptions().CPlusPlus &&
2051 if (getLangOptions().CPlusPlus)
2090 if (getLangOptions().CPlusPlus) {
2256 if (getLangOptions().CPlusPlus &&
2358 if (getLangOptions().CPlusPlus ||
2369 if (getLangOptions().MicrosoftExt && !getLangOptions().CPlusPlus &&
2386 if (getLangOptions().CPlusPlus &&
2634 if (Record->isUnion() && !getLangOptions().CPlusPlus)
2642 if (getLangOptions().CPlusPlus) {
2714 if (!getLangOptions().CPlusPlus0x && CheckNontrivialField(FD))
2727 if (getLangOptions().MicrosoftExt)
2751 if (getLangOptions().MicrosoftExt &&
2766 << (int)getLangOptions().CPlusPlus;
2787 if (getLangOptions().CPlusPlus)
3545 if (getLangOptions().CPlusPlus) {
3672 if (Context.getLangOptions().CPlusPlus) {
3761 if (getLangOptions().CPlusPlus)
3803 if (getLangOptions().OpenCL) {
3812 if (!getLangOptions().CPlusPlus) {
3966 if (getLangOptions().ObjCAutoRefCount && inferObjCARCLifetime(NewVD))
4006 if (!getLangOptions().CPlusPlus) {
4199 if (getLangOptions().getGC() != LangOptions::NonGC)
4402 bool isFriendDecl = (SemaRef.getLangOptions().CPlusPlus &&
4482 << Name << NewDC << Correction.getQuoted(SemaRef.getLangOptions())
4485 Correction.getAsString(SemaRef.getLangOptions()));
4509 << Correction.getQuoted(SemaRef.getLangOptions());
4565 if (!SemaRef.getLangOptions().CPlusPlus) {
4626 if (SemaRef.getLangOptions().CPlusPlus0x && !Record->isDependentType() &&
4755 if (getLangOptions().CPlusPlus) {
5023 if (getLangOptions().CPlusPlus &&
5076 if (!getLangOptions().CPlusPlus) {
5168 Diag(NewFD->getLocation(), getLangOptions().MicrosoftExt ?
5388 if (getLangOptions().CPlusPlus) {
5398 if (getLangOptions().CUDA)
5488 if (!getLangOptions().CPlusPlus && !NewFD->hasAttr<OverloadableAttr>()) {
5549 if (getLangOptions().CPlusPlus) {
5639 Diag(DS.getStorageClassSpecLoc(), getLangOptions().CPlusPlus
5889 if (getLangOptions().ObjCAutoRefCount && inferObjCARCLifetime(VDecl))
5927 if (getLangOptions().CPlusPlus) {
5996 if (!getLangOptions().CPlusPlus && !VDecl->isInvalidDecl()) {
6057 if (getLangOptions().CPlusPlus0x && T.isVolatileQualified())
6082 if (getLangOptions().CPlusPlus0x)
6095 } else if (getLangOptions().CPlusPlus0x && T->isLiteralType()) {
6108 (!getLangOptions().CPlusPlus ||
6126 if (!getLangOptions().CPlusPlus && !VDecl->isInvalidDecl()) {
6354 if (getLangOptions().CPlusPlus && Var->hasLocalStorage()) {
6358 if ((!getLangOptions().CPlusPlus0x && !CXXRecord->isPOD()) ||
6359 (getLangOptions().CPlusPlus0x &&
6443 if (getLangOptions().ObjCAutoRefCount &&
6459 if (!getLangOptions().CPlusPlus) return;
6603 if (getLangOptions().CPlusPlus) {
6753 if (getLangOptions().ObjCAutoRefCount &&
6906 !canRedefineFunction(Definition, getLangOptions())) {
6907 if (getLangOptions().GNUMode && Definition->isInlineSpecified() &&
6910 << FD->getDeclName() << getLangOptions().CPlusPlus;
7076 if (getLangOptions().MicrosoftExt && FD->isPure())
7209 else if (getLangOptions().C99)
7284 if (!getLangOptions().MathErrno &&
7302 if ((!getLangOptions().CPlusPlus &&
7588 } else if (getLangOptions().MicrosoftExt)
7682 if (!getLangOptions().CPlusPlus && TUK != TUK_Reference) {
7704 if (getLangOptions().CPlusPlus && Name && DC && StdNamespace &&
7760 (getLangOptions().CPlusPlus &&
7777 if (getLangOptions().CPlusPlus) {
7795 if (getLangOptions().CPlusPlus) {
7887 getLangOptions().MicrosoftExt)) || TUK == TUK_Friend)
7947 assert(getLangOptions().CPlusPlus);
8029 if (getLangOptions().CPlusPlus0x && cast<EnumDecl>(New)->isFixed()) {
8039 if (getLangOptions().MicrosoftExt)
8041 else if (getLangOptions().CPlusPlus)
8067 if (getLangOptions().CPlusPlus) {
8138 if (Name && S->isFunctionPrototypeScope() && !getLangOptions().CPlusPlus)
8151 getLangOptions().MicrosoftExt);
8339 if (!getLangOptions().CPlusPlus) {
8384 if (getLangOptions().CPlusPlus) {
8551 if (!InvalidDecl && getLangOptions().CPlusPlus) {
8561 if (!getLangOptions().CPlusPlus0x && CheckNontrivialField(NewFD))
8584 if (getLangOptions().ObjCAutoRefCount && inferObjCARCLifetime(NewFD))
8596 assert(getLangOptions().CPlusPlus && "valid check only for C++");
8620 if (getLangOptions().ObjCAutoRefCount && RDecl->hasObjectMember()) {
8910 if (getLangOptions().ObjCAutoRefCount && inferObjCARCLifetime(NewID))
9020 ((getLangOptions().MicrosoftExt ||
9021 getLangOptions().CPlusPlus) &&
9027 if (getLangOptions().MicrosoftExt) {
9034 } else if (getLangOptions().CPlusPlus) {
9097 else if (!getLangOptions().CPlusPlus) {
9098 if (getLangOptions().ObjCAutoRefCount && Record && !ARCErrReported) {
9119 else if (getLangOptions().ObjC1 &&
9120 getLangOptions().getGC() != LangOptions::NonGC &&
9164 if (getLangOptions().ObjCAutoRefCount &&
9190 if (getLangOptions().CPlusPlus0x &&
9366 if (!getLangOptions().CPlusPlus) {
9390 if (getLangOptions().MicrosoftExt) {
9479 if (!getLangOptions().CPlusPlus && !T.isNull())
9481 } else if (!getLangOptions().CPlusPlus &&
9529 assert((getLangOptions().CPlusPlus || !isa<TagDecl>(PrevDecl)) &&
9697 = (NumPositiveBits == BestWidth || !getLangOptions().CPlusPlus)
9703 = (NumPositiveBits == BestWidth || !getLangOptions().CPlusPlus)
9711 = (NumPositiveBits == BestWidth || !getLangOptions().CPlusPlus)
9736 if (!getLangOptions().CPlusPlus &&
9743 if (getLangOptions().CPlusPlus)
9768 if (getLangOptions().CPlusPlus)