Home | History | Annotate | Download | only in Sema

Lines Matching refs:getLangOptions

114   if (getLangOptions().CPlusPlus && isa<FunctionDecl>(D)) {
323 if (getLangOptions().C99 || getLangOptions().CPlusPlus || E->isLValue())
381 if (getLangOptions().CPlusPlus &&
504 if (getLangOptions().CPlusPlus && E->isGLValue() &&
561 if (getLangOptions().CPlusPlus0x && !E->getType()->isDependentType()) {
575 getLangOptions().ObjCAutoRefCount &&
583 << getLangOptions().CPlusPlus0x << E->getType()
1168 if (getLangOptions().CPlusPlus || getLangOptions().ConstStrings)
1341 if (!byRef && S.getLangOptions().CPlusPlus && !type->isDependentType() &&
1432 if (getLangOptions().CUDA)
1540 if (getLangOptions().MicrosoftExt)
1585 std::string CorrectedStr(Corrected.getAsString(getLangOptions()));
1586 std::string CorrectedQuotedStr(Corrected.getQuoted(getLangOptions()));
1781 if (HasTrailingLParen && II && !getLangOptions().CPlusPlus) {
1794 if (getLangOptions().MicrosoftMode && CurContext->isDependentContext() &&
1993 if (!(getLangOptions().CPlusPlus &&
2185 if (!getLangOptions().CPlusPlus)
2390 assert(getLangOptions().CPlusPlus &&
2417 if (!getLangOptions().CPlusPlus &&
2444 if (getLangOptions().CPlusPlus) {
2546 if (!getLangOptions().CPlusPlus)
2638 if (getLangOptions().SinglePrecisionConstants) {
2640 } else if (getLangOptions().OpenCL && !getOpenCLOptions().cl_khr_fp64) {
2651 if (!getLangOptions().C99 && Literal.isLongLong)
2653 getLangOptions().CPlusPlus0x ?
2715 (getLangOptions().MicrosoftExt && Literal.isLongLong)))
3084 if (getLangOptions().CPlusPlus &&
3092 if (getLangOptions().CPlusPlus &&
3215 if (ResultType->isVoidType() && !getLangOptions().CPlusPlus) {
3536 if (!Param || getLangOptions().CPlusPlus)
3590 if (getLangOptions().CPlusPlus) {
3789 if (getLangOptions().CUDA) {
3959 ExprValueKind VK = getLangOptions().CPlusPlus ? VK_RValue : VK_LValue;
3987 if (!S.getLangOptions().ObjCAutoRefCount) return;
4207 || (getLangOptions().OpenCL &&
4247 if (getLangOptions().CPlusPlus) {
4263 if ((getLangOptions().AltiVec || getLangOptions().OpenCL)
4347 if (getLangOptions().OpenCL &&
4449 if (S.getLangOptions().OpenCL && CondTy->isVectorType())
4453 S.Diag(Cond->getLocStart(), S.getLangOptions().OpenCL ?
4665 if (getLangOptions().CPlusPlus)
4696 if (getLangOptions().OpenCL && CondTy->isVectorType())
5029 if (!(getLangOptions().CPlusPlus
5190 if (!S.getLangOptions().CPlusPlus &&
5213 if (S.getLangOptions().CPlusPlus)
5360 if (getLangOptions().LaxVectorConversions &&
5371 !(getLangOptions().CPlusPlus && LHSType->isEnumeralType())) {
5437 if (getLangOptions().ObjC1 && RHSType->isObjCIdType()) {
5459 if (getLangOptions().ObjCAutoRefCount &&
5626 if (getLangOptions().CPlusPlus) {
5651 if (getLangOptions().ObjCAutoRefCount &&
5738 if (getLangOptions().LaxVectorConversions &&
5889 S.Diag(Loc, S.getLangOptions().CPlusPlus
5899 S.Diag(Loc, S.getLangOptions().CPlusPlus
5910 S.Diag(Loc, S.getLangOptions().CPlusPlus
5925 S.Diag(Loc, S.getLangOptions().CPlusPlus
5966 return !S.getLangOptions().CPlusPlus;
5970 return !S.getLangOptions().CPlusPlus;
6005 return !S.getLangOptions().CPlusPlus;
6016 return !S.getLangOptions().CPlusPlus;
6159 if (getLangOptions().CPlusPlus) {
6564 if (getLangOptions().CPlusPlus) {
6620 if (getLangOptions().CPlusPlus) {
6744 if (IsRelational && !getLangOptions().CPlusPlus)
6746 } else if (IsRelational && !getLangOptions().CPlusPlus)
6748 else if (getLangOptions().CPlusPlus) {
6889 if ((getLangOptions().Bool && !RHS.get()->getType()->isBooleanType()) ||
6899 getLangOptions())),
6908 getLangOptions()),
6913 if (!Context.getLangOptions().CPlusPlus) {
7026 if (S.getLangOptions().ObjCAutoRefCount) {
7147 getLangOptions().ObjCNonFragileABI &&
7177 else if (getLangOptions().ObjCAutoRefCount)
7198 return (getLangOptions().CPlusPlus
7222 if (!S.getLangOptions().CPlusPlus) {
7246 if (S.getLangOptions().CPlusPlus && ResType->isBooleanType()) {
7273 } else if (S.getLangOptions().AltiVec && ResType->isVectorType()) {
7287 if (IsPrefix && S.getLangOptions().CPlusPlus) {
7356 Consumed = (getLangOptions().ObjCAutoRefCount &&
7375 if (getLangOptions().ObjCAutoRefCount)
7380 if ((getLangOptions().CPlusPlus && LHSTy->isRecordType()) ||
7381 getLangOptions().ObjCAutoRefCount) {
7387 if (getLangOptions().ObjCAutoRefCount && !PropRef->isSuperReceiver())
7502 if (S.getLangOptions().C99) {
7577 !S.getLangOptions().CPlusPlus) {
7669 if (!S.getLangOptions().CPlusPlus && Result.isCForbiddenLValueType())
7804 if (getLangOptions().CPlusPlus &&
7895 if (getLangOptions().CPlusPlus && !RHS.isInvalid()) {
7911 if (getLangOptions().CPlusPlus && LHS.get()->getObjectKind() !=
8099 if (getLangOptions().CPlusPlus) {
8173 else if (getLangOptions().CPlusPlus && // C++ [expr.unary.op]p6-7
8176 else if (getLangOptions().CPlusPlus && // C++ [expr.unary.op]p6
8228 if (Context.getLangOptions().CPlusPlus) {
8278 if (getLangOptions().CPlusPlus && Input->getType()->isOverloadableType() &&
8716 !getLangOptions().CPlusPlus)
8970 if (!SemaRef.getLangOptions().ObjC1)
9067 if (getLangOptions().CPlusPlus &&
9685 if (getLangOptions().CPlusPlus)
9773 if (S.getLangOptions().CPlusPlus &&
10026 if (!S.getLangOptions().CPlusPlus)