|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/include/clang/AST/ASTContext.h 1190 QualType getConstType(QualType T) const { return T.withConst(); }
tools/clang/include/clang/AST/CanonicalType.h 162 return Stored.withConst();
tools/clang/lib/AST/ASTContext.cpp 9676 Type = Type.withConst();
10346 EltTy = EltTy.withConst();
tools/clang/lib/AST/DeclObjC.cpp 1108 selfTy = selfTy.withConst();
1115 selfTy = selfTy.withConst();
tools/clang/lib/AST/ExprConstant.cpp 6589 Info, BCE, BCE->getSubExpr()->getType().withConst(), SourceLValue,
tools/clang/lib/AST/MicrosoftMangle.cpp 1768 T = T.withConst();
tools/clang/lib/CodeGen/CGObjC.cpp 144 QualType ElementType = Context.getObjCIdType().withConst();
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 4668 C.getPointerType(PrivatesQTy).withConst().withRestrict(),
4677 .withConst()
4688 .withConst()
4699 .withConst()
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 3845 FundamentalType.withConst());
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp 525 T = isConst ? Context->getObjCIdType().withConst()
2740 QualType ConstIdT = Context->getObjCIdType().withConst();
2869 QualType ConstIdT = Context->getObjCIdType().withConst();
tools/clang/lib/Sema/SemaChecking.cpp 1694 EltTy = EltTy.withConst();
tools/clang/lib/Sema/SemaDeclAttr.cpp 6362 VD->setType(Ty.withConst());
tools/clang/lib/Sema/SemaDeclCXX.cpp 7063 Context.getLValueReferenceType(Context.getRecordType(RD).withConst());
8074 Context.getRecordType(RD).withConst());
12338 ArgType = ArgType.withConst();
13034 ArgType = ArgType.withConst();
tools/clang/lib/Sema/SemaExpr.cpp14369 Result.get()->getType().withConst(),
15872 CaptureType = CaptureType.getNonReferenceType().withConst();
tools/clang/lib/Sema/SemaExprCXX.cpp 459 return new (Context) CXXTypeidExpr(TypeInfoType.withConst(), Operand,
532 return new (Context) CXXTypeidExpr(TypeInfoType.withConst(), E,
642 return new (Context) CXXUuidofExpr(TypeInfoType.withConst(), Operand, UuidStr,
666 return new (Context) CXXUuidofExpr(TypeInfoType.withConst(), E, UuidStr,
tools/clang/lib/Sema/SemaExprObjC.cpp 854 << Context.getPointerType(IdT.withConst());
971 << Context.getPointerType(IdT.withConst());
1008 << Context.getPointerType(IdT.withConst());
tools/clang/lib/Sema/SemaInit.cpp 3830 E.withConst(),
8659 E.withConst(),
tools/clang/lib/Sema/SemaOpenMP.cpp 3100 QualType KmpInt32Ty = Context.getIntTypeForBitwidth(32, 1).withConst();
3102 Context.getPointerType(KmpInt32Ty).withConst().withRestrict();
3118 QualType KmpInt32Ty = Context.getIntTypeForBitwidth(32, 1).withConst();
3121 Context.getPointerType(KmpInt32Ty).withConst().withRestrict();
3132 Context.getPointerType(CopyFnType).withConst().withRestrict()),
3163 QualType KmpInt32Ty = Context.getIntTypeForBitwidth(32, 1).withConst();
3166 Context.getPointerType(KmpInt32Ty).withConst().withRestrict();
3177 Context.getPointerType(CopyFnType).withConst().withRestrict()),
3216 QualType KmpInt32Ty = Context.getIntTypeForBitwidth(32, 1).withConst();
3219 Context.getPointerType(KmpInt32Ty).withConst().withRestrict();
3230 Context.getPointerType(CopyFnType).withConst().withRestrict()),
3250 .withConst();
3253 .withConst();
3256 .withConst();
3259 Context.getPointerType(KmpInt32Ty).withConst().withRestrict();
3270 Context.getPointerType(CopyFnType).withConst().withRestrict()),
3292 .withConst();
3295 .withConst();
3298 .withConst();
3301 Context.getPointerType(KmpInt32Ty).withConst().withRestrict();
3320 Context.getPointerType(CopyFnType).withConst().withRestrict()),
3341 QualType KmpInt32Ty = Context.getIntTypeForBitwidth(32, 1).withConst();
3343 Context.getPointerType(KmpInt32Ty).withConst().withRestrict();
3357 QualType KmpInt32Ty = Context.getIntTypeForBitwidth(32, 1).withConst();
3359 Context.getPointerType(KmpInt32Ty).withConst().withRestrict();
3372 Context.getPointerType(CopyFnType).withConst().withRestrict()),
3416 QualType KmpInt32Ty = Context.getIntTypeForBitwidth(32, 1).withConst();
3418 Context.getPointerType(KmpInt32Ty).withConst().withRestrict();
3445 QualType KmpInt32Ty = Context.getIntTypeForBitwidth(32, 1).withConst();
3448 Context.getPointerType(KmpInt32Ty).withConst().withRestrict();
3459 Context.getPointerType(CopyFnType).withConst().withRestrict()),
tools/clang/lib/Sema/SemaStmt.cpp 117 var->setType(type.withConst());
2763 SemaRef.Context.getLValueReferenceType(E->getType().withConst());
4366 .withConst()
tools/clang/tools/extra/clang-tidy/google/AvoidCStyleCastsCheck.cpp 190 if (Source == Dest.withConst() ||
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertCheck.cpp 400 Cast->getType() == E->getType().withConst()) ||
tools/clang/tools/extra/clang-tidy/performance/ImplicitConversionInLoopCheck.cpp 90 QualType ConstType = OperatorCall->getType().withConst();