HomeSort by relevance Sort by last modified time
    Searched refs:MacroDirective (Results 1 - 25 of 26) sorted by null

1 2

  /external/clang/include/clang/Lex/
MacroInfo.h 11 /// \brief Defines the clang::MacroInfo and clang::MacroDirective classes.
305 /// becomes active (MacroDirective) but modules can have their own macro
309 /// MacroDirective created to indicate that "FOO" became active at the import
310 /// location. Module "A" itself will contain another MacroDirective in its macro
314 class MacroDirective {
324 MacroDirective *Previous;
328 /// \brief MacroDirective kind.
357 return const_cast<MacroDirective*>(this)->getModuleDataStart();
360 MacroDirective(Kind K, SourceLocation Loc,
382 void setPrevious(MacroDirective *Prev)
    [all...]
PPCallbacks.h 30 class MacroDirective;
241 virtual void MacroExpands(const Token &MacroNameTok, const MacroDirective *MD,
247 const MacroDirective *MD) {
254 const MacroDirective *MD) {
258 /// \param MD The MacroDirective if the name was a macro, null otherwise.
259 virtual void Defined(const Token &MacroNameTok, const MacroDirective *MD,
296 /// \param MD The MacroDirective if the name was a macro, null otherwise.
298 const MacroDirective *MD) {
304 /// \param MD The MacroDirective if the name was a macro, null otherwise.
306 const MacroDirective *MD)
    [all...]
PPConditionalDirectiveRecord.h 94 const MacroDirective *MD) override;
96 const MacroDirective *MD) override;
PreprocessingRecord.h 490 void MacroExpands(const Token &Id, const MacroDirective *MD,
492 void MacroDefined(const Token &Id, const MacroDirective *MD) override;
493 void MacroUndefined(const Token &Id, const MacroDirective *MD) override;
501 const MacroDirective *MD) override;
503 const MacroDirective *MD) override;
505 void Defined(const Token &MacroNameTok, const MacroDirective *MD,
Preprocessor.h 359 MacroDirective *MD;
361 MacroExpandsInfo(Token Tok, MacroDirective *MD, SourceRange Range)
369 llvm::DenseMap<const IdentifierInfo*, MacroDirective*> Macros;
604 /// \brief Given an identifier, return its latest MacroDirective if it is
606 MacroDirective *getMacroDirective(IdentifierInfo *II) const {
610 MacroDirective *MD = getMacroDirectiveHistory(II);
620 if (MacroDirective *MD = getMacroDirective(II))
630 MacroDirective *getMacroDirectiveHistory(const IdentifierInfo *II) const;
633 void appendMacroDirective(IdentifierInfo *II, MacroDirective *MD);
646 /// \brief Set a MacroDirective that was loaded from a PCH file
    [all...]
  /external/clang/lib/Lex/
MacroInfo.cpp 172 MacroDirective::DefInfo MacroDirective::getDefinition() {
173 MacroDirective *MD = this;
195 const MacroDirective::DefInfo
196 MacroDirective::findDirectiveAtLoc(SourceLocation L, SourceManager &SM) const {
208 void MacroDirective::dump() const {
PPConditionalDirectiveRecord.cpp 87 const MacroDirective *MD) {
94 const MacroDirective *MD) {
PreprocessingRecord.cpp 383 const MacroDirective *MD) {
391 const MacroDirective *MD) {
399 const MacroDirective *MD,
411 void PreprocessingRecord::MacroExpands(const Token &Id,const MacroDirective *MD,
418 const MacroDirective *MD) {
428 const MacroDirective *MD) {
PPMacroExpansion.cpp 36 MacroDirective *
45 void Preprocessor::appendMacroDirective(IdentifierInfo *II, MacroDirective *MD){
46 assert(MD && "MacroDirective should be non-zero!");
47 assert(!MD->getPrevious() && "Already attached to a MacroDirective history.");
49 MacroDirective *&StoredMD = Macros[II];
63 MacroDirective *MD) {
65 MacroDirective *&StoredMD = Macros[II];
225 MacroDirective *MD) {
226 MacroDirective::DefInfo Def = MD->getDefinition();
307 for (MacroDirective::DefInfo PrevDef = Def.getPreviousDefinition()
    [all...]
PPDirectives.cpp     [all...]
PPExpressions.cpp 114 MacroDirective *Macro = nullptr;
147 MacroDirective *MD = Macro;
Preprocessor.cpp 324 const MacroDirective::DefInfo
625 if (MacroDirective *MD = getMacroDirective(&II)) {
Pragma.cpp 593 if (MacroDirective *CurrentMD = getMacroDirective(IdentInfo)) {
    [all...]
  /external/clang/lib/Frontend/
PrintPreprocessedOutput.cpp 169 const MacroDirective *MD) override;
173 const MacroDirective *MD) override;
351 const MacroDirective *MD) {
364 const MacroDirective *MD) {
CompilerInstance.cpp     [all...]
ASTUnit.cpp 768 const MacroDirective *MD) override {
    [all...]
  /external/clang/unittests/Basic/
SourceManagerTest.cpp 262 const MacroDirective *MD) override {
267 void MacroExpands(const Token &MacroNameTok, const MacroDirective *MD,
  /external/clang/lib/Sema/
SemaFixItUtils.cpp 167 MacroDirective *Macro = S.PP.getMacroDirectiveHistory(II);
  /external/clang/tools/libclang/
Indexing.cpp 282 void MacroDefined(const Token &Id, const MacroDirective *MD) override {}
287 const MacroDirective *MD) override {}
290 void MacroExpands(const Token &MacroNameTok, const MacroDirective *MD,
    [all...]
CIndex.cpp     [all...]
  /external/clang/lib/Serialization/
ASTWriter.cpp     [all...]
ASTReader.cpp     [all...]
  /external/clang/include/clang/Serialization/
ASTWriter.h 53 class MacroDirective;
    [all...]
ASTReader.h 75 class MacroDirective;
    [all...]
  /external/clang/lib/ARCMigrate/
ARCMT.cpp 435 void MacroExpands(const Token &MacroNameTok, const MacroDirective *MD,

Completed in 310 milliseconds

1 2