Lines Matching refs:LineStr
44 StringRef LineStr(Line); in LayoutOverrideSource() local
47 if (LineStr.find("*** Dumping AST Record Layout") != StringRef::npos) { in LayoutOverrideSource()
62 if ((Pos = LineStr.find("struct ")) != StringRef::npos) in LayoutOverrideSource()
63 LineStr = LineStr.substr(Pos + strlen("struct ")); in LayoutOverrideSource()
64 else if ((Pos = LineStr.find("class ")) != StringRef::npos) in LayoutOverrideSource()
65 LineStr = LineStr.substr(Pos + strlen("class ")); in LayoutOverrideSource()
66 else if ((Pos = LineStr.find("union ")) != StringRef::npos) in LayoutOverrideSource()
67 LineStr = LineStr.substr(Pos + strlen("union ")); in LayoutOverrideSource()
72 CurrentType = parseName(LineStr); in LayoutOverrideSource()
78 StringRef::size_type Pos = LineStr.find(" Size:"); in LayoutOverrideSource()
81 LineStr = LineStr.substr(Pos + strlen(" Size:")); in LayoutOverrideSource()
84 (void)LineStr.getAsInteger(10, Size); in LayoutOverrideSource()
90 Pos = LineStr.find("Alignment:"); in LayoutOverrideSource()
93 LineStr = LineStr.substr(Pos + strlen("Alignment:")); in LayoutOverrideSource()
96 (void)LineStr.getAsInteger(10, Alignment); in LayoutOverrideSource()
102 Pos = LineStr.find("sizeof="); in LayoutOverrideSource()
105 LineStr = LineStr.substr(Pos + strlen("sizeof=")); in LayoutOverrideSource()
109 (void)LineStr.getAsInteger(10, Size); in LayoutOverrideSource()
112 Pos = LineStr.find("align="); in LayoutOverrideSource()
115 LineStr = LineStr.substr(Pos + strlen("align=")); in LayoutOverrideSource()
119 (void)LineStr.getAsInteger(10, Alignment); in LayoutOverrideSource()
127 Pos = LineStr.find("FieldOffsets: ["); in LayoutOverrideSource()
131 LineStr = LineStr.substr(Pos + strlen("FieldOffsets: [")); in LayoutOverrideSource()
132 while (!LineStr.empty() && isDigit(LineStr[0])) { in LayoutOverrideSource()
135 while (Idx < LineStr.size() && isDigit(LineStr[Idx])) in LayoutOverrideSource()
139 (void)LineStr.substr(0, Idx).getAsInteger(10, Offset); in LayoutOverrideSource()
144 LineStr = LineStr.substr(Idx + 1); in LayoutOverrideSource()
145 while (!LineStr.empty() && isWhitespace(LineStr[0])) in LayoutOverrideSource()
146 LineStr = LineStr.substr(1); in LayoutOverrideSource()