OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MacroNameTok
(Results
1 - 12
of
12
) sorted by null
/external/clang/include/clang/Lex/
PPCallbacks.h
222
virtual void MacroExpands(const Token &
MacroNameTok
, const MacroDirective *MD,
227
virtual void MacroDefined(const Token &
MacroNameTok
,
234
virtual void MacroUndefined(const Token &
MacroNameTok
,
240
virtual void Defined(const Token &
MacroNameTok
, const MacroDirective *MD,
272
/// \param
MacroNameTok
Information on the token being tested.
274
virtual void Ifdef(SourceLocation Loc, const Token &
MacroNameTok
,
280
/// \param
MacroNameTok
Information on the token being tested.
282
virtual void Ifndef(SourceLocation Loc, const Token &
MacroNameTok
,
403
virtual void MacroExpands(const Token &
MacroNameTok
, const MacroDirective *MD,
405
First->MacroExpands(
MacroNameTok
, MD, Range, Args)
[
all
...]
PPConditionalDirectiveRecord.h
93
virtual void Ifdef(SourceLocation Loc, const Token &
MacroNameTok
,
95
virtual void Ifndef(SourceLocation Loc, const Token &
MacroNameTok
,
PreprocessingRecord.h
574
virtual void Ifdef(SourceLocation Loc, const Token &
MacroNameTok
,
576
virtual void Ifndef(SourceLocation Loc, const Token &
MacroNameTok
,
579
virtual void Defined(const Token &
MacroNameTok
, const MacroDirective *MD,
Preprocessor.h
[
all
...]
/external/clang/lib/Lex/
PPDirectives.cpp
138
void Preprocessor::ReadMacroName(Token &
MacroNameTok
, char isDefineUndef) {
140
LexUnexpandedToken(
MacroNameTok
);
142
if (
MacroNameTok
.is(tok::code_completion)) {
146
LexUnexpandedToken(
MacroNameTok
);
150
if (
MacroNameTok
.is(tok::eod)) {
151
Diag(
MacroNameTok
, diag::err_pp_missing_macro_name);
155
IdentifierInfo *II =
MacroNameTok
.getIdentifierInfo();
158
std::string Spelling = getSpelling(
MacroNameTok
, &Invalid);
166
MacroNameTok
.setIdentifierInfo(getIdentifierInfo(Spelling));
173
Diag(
MacroNameTok
, diag::err_pp_operator_used_as_macro_name) << Spelling
[
all
...]
PreprocessingRecord.cpp
384
void PreprocessingRecord::Ifdef(SourceLocation Loc, const Token &
MacroNameTok
,
388
addMacroExpansion(
MacroNameTok
, MD->getMacroInfo(),
389
MacroNameTok
.getLocation());
392
void PreprocessingRecord::Ifndef(SourceLocation Loc, const Token &
MacroNameTok
,
396
addMacroExpansion(
MacroNameTok
, MD->getMacroInfo(),
397
MacroNameTok
.getLocation());
400
void PreprocessingRecord::Defined(const Token &
MacroNameTok
,
405
addMacroExpansion(
MacroNameTok
, MD->getMacroInfo(),
406
MacroNameTok
.getLocation());
PPConditionalDirectiveRecord.cpp
86
const Token &
MacroNameTok
,
93
const Token &
MacroNameTok
,
/external/clang/unittests/Basic/
SourceManagerTest.cpp
253
virtual void MacroDefined(const Token &
MacroNameTok
,
256
MacroNameTok
.getIdentifierInfo()->getName(),
259
virtual void MacroExpands(const Token &
MacroNameTok
, const MacroDirective *MD,
261
Macros.push_back(MacroAction(
MacroNameTok
.getLocation(),
262
MacroNameTok
.getIdentifierInfo()->getName(),
/external/clang/lib/Frontend/
PrintPreprocessedOutput.cpp
178
void MacroDefined(const Token &
MacroNameTok
, const MacroDirective *MD);
181
void MacroUndefined(const Token &
MacroNameTok
, const MacroDirective *MD);
365
void PrintPPOutputPPCallbacks::MacroDefined(const Token &
MacroNameTok
,
374
PrintMacroDefinition(*
MacroNameTok
.getIdentifierInfo(), *MI, PP, OS);
378
void PrintPPOutputPPCallbacks::MacroUndefined(const Token &
MacroNameTok
,
383
MoveToLine(
MacroNameTok
.getLocation());
384
OS << "#undef " <<
MacroNameTok
.getIdentifierInfo()->getName();
ASTUnit.cpp
860
virtual void MacroDefined(const Token &
MacroNameTok
,
862
Hash = llvm::HashString(
MacroNameTok
.getIdentifierInfo()->getName(), Hash);
[
all
...]
/external/clang/lib/ARCMigrate/
ARCMT.cpp
490
virtual void MacroExpands(const Token &
MacroNameTok
, const MacroDirective *MD,
492
if (
MacroNameTok
.getIdentifierInfo()->getName() == getARCMTMacroName())
493
ARCMTMacroLocs.push_back(
MacroNameTok
.getLocation());
/external/clang/tools/libclang/
Indexing.cpp
290
virtual void MacroUndefined(const Token &
MacroNameTok
,
295
virtual void MacroExpands(const Token &
MacroNameTok
, const MacroDirective *MD,
[
all
...]
Completed in 555 milliseconds