Lines Matching refs:StringLiteral
450 StringLiteral *SL) in PredefinedExpr()
457 StringLiteral *PredefinedExpr::getFunctionName() { in getFunctionName()
458 return cast_or_null<StringLiteral>(FnName); in getFunctionName()
813 int StringLiteral::mapCharByteWidth(TargetInfo const &target,StringKind k) { in mapCharByteWidth()
837 StringLiteral *StringLiteral::Create(const ASTContext &C, StringRef Str, in Create()
846 void *Mem = C.Allocate(sizeof(StringLiteral)+ in Create()
848 llvm::alignOf<StringLiteral>()); in Create()
849 StringLiteral *SL = new (Mem) StringLiteral(Ty); in Create()
862 StringLiteral *StringLiteral::CreateEmpty(const ASTContext &C, in CreateEmpty()
864 void *Mem = C.Allocate(sizeof(StringLiteral)+ in CreateEmpty()
866 llvm::alignOf<StringLiteral>()); in CreateEmpty()
867 StringLiteral *SL = new (Mem) StringLiteral(QualType()); in CreateEmpty()
874 void StringLiteral::outputString(raw_ostream &OS) const { in outputString()
967 void StringLiteral::setString(const ASTContext &C, StringRef Str, in setString()
1020 StringLiteral::getLocationOfByte(unsigned ByteNo, const SourceManager &SM, in getLocationOfByte()
1024 assert((Kind == StringLiteral::Ascii || Kind == StringLiteral::UTF8) && in getLocationOfByte()
1983 return isa<StringLiteral>(Init) || isa<ObjCEncodeExpr>(Init); in isStringLiteralInit()