Lines Matching refs:StringLiteral
439 StringLiteral *SL) in PredefinedExpr()
446 StringLiteral *PredefinedExpr::getFunctionName() { in getFunctionName()
447 return cast_or_null<StringLiteral>(FnName); in getFunctionName()
802 int StringLiteral::mapCharByteWidth(TargetInfo const &target,StringKind k) { in mapCharByteWidth()
826 StringLiteral *StringLiteral::Create(const ASTContext &C, StringRef Str, in Create()
835 void *Mem = C.Allocate(sizeof(StringLiteral)+ in Create()
837 llvm::alignOf<StringLiteral>()); in Create()
838 StringLiteral *SL = new (Mem) StringLiteral(Ty); in Create()
851 StringLiteral *StringLiteral::CreateEmpty(const ASTContext &C, in CreateEmpty()
853 void *Mem = C.Allocate(sizeof(StringLiteral)+ in CreateEmpty()
855 llvm::alignOf<StringLiteral>()); in CreateEmpty()
856 StringLiteral *SL = new (Mem) StringLiteral(QualType()); in CreateEmpty()
863 void StringLiteral::outputString(raw_ostream &OS) const { in outputString()
956 void StringLiteral::setString(const ASTContext &C, StringRef Str, in setString()
1009 StringLiteral::getLocationOfByte(unsigned ByteNo, const SourceManager &SM, in getLocationOfByte()
1013 assert((Kind == StringLiteral::Ascii || Kind == StringLiteral::UTF8) && in getLocationOfByte()
1830 return isa<StringLiteral>(Init) || isa<ObjCEncodeExpr>(Init); in isStringLiteralInit()