Searched refs:TokenLoc (Results 1 - 5 of 5) sorted by relevance

/external/clang/lib/Format/
H A DFormat.cpp197 SourceLocation TokenLoc = Tok.Tok.getLocation(); local
198 int IndentDelta = Indent - SourceMgr.getSpellingColumnNumber(TokenLoc) + 1;
199 const char *Start = SourceMgr.getCharacterData(TokenLoc);
206 LineStarts.push_back(TokenLoc.getLocWithOffset(Current - Start));
/external/clang/lib/Lex/
H A DLexer.cpp1196 SourceLocation TokenLoc = Tok.getLocation();
1201 const char *TokenEnd = SM.getCharacterData(TokenLoc) +
1219 return TokenLoc.getLocWithOffset(Tok.getLength() + NumWhitespaceChars);
/external/clang/include/clang/AST/
H A DExpr.h3503 /// TokenLoc - The location of the __null keyword.
3504 SourceLocation TokenLoc; member in class:clang::StringLiteral::OffsetOfExpr::GNUNullExpr
3510 TokenLoc(Loc) { }
3516 SourceLocation getTokenLocation() const { return TokenLoc; }
3517 void setTokenLocation(SourceLocation L) { TokenLoc = L; }
3519 SourceLocation getLocStart() const LLVM_READONLY { return TokenLoc; }
3520 SourceLocation getLocEnd() const LLVM_READONLY { return TokenLoc; }
/external/clang/include/clang/Sema/
H A DSema.h3312 ExprResult ActOnGNUNullExpr(SourceLocation TokenLoc);
/external/clang/lib/Sema/
H A DSemaExpr.cpp9835 ExprResult Sema::ActOnGNUNullExpr(SourceLocation TokenLoc) { argument
9850 return Owned(new (Context) GNUNullExpr(Ty, TokenLoc));

Completed in 168 milliseconds