Home
last modified time | relevance | path

Searched refs:IsModule (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp2460 static bool shouldIgnoreMacro(MacroDirective *MD, bool IsModule, in shouldIgnoreMacro() argument
2466 if (IsModule) { in shouldIgnoreMacro()
2479 void ASTWriter::WritePreprocessor(const Preprocessor &PP, bool IsModule) { in WritePreprocessor() argument
2507 assert(!IsModule); in WritePreprocessor()
2541 PP.Diag(SourceLocation(), diag::warn_module_uses_date_time) << IsModule; in WritePreprocessor()
2577 if (IsModule && WritingModule->isHeaderUnit()) { in WritePreprocessor()
2581 if (!MD || shouldIgnoreMacro(MD, IsModule, PP) || in WritePreprocessor()
2601 if (shouldIgnoreMacro(MD, IsModule, PP)) in WritePreprocessor()
3734 bool IsModule, bool IsCPlusPlus) { in IsInterestingIdentifier() argument
3735 bool NeedDecls = !IsModule || !IsCPlusPlus; in IsInterestingIdentifier()
[all …]
H A DASTReader.cpp1029 bool IsModule) { in isInterestingIdentifier() argument
1035 (!IsModule && IsInteresting) || II.hasRevertedTokenIDToIdentifier() || in isInterestingIdentifier()
1036 (!(IsModule && Reader.getPreprocessor().getLangOpts().CPlusPlus) && in isInterestingIdentifier()
1057 bool IsModule = Reader.getPreprocessor().getCurrentModule() != nullptr; in markIdentifierFromAST() local
1058 if (isInterestingIdentifier(Reader, II, IsModule)) in markIdentifierFromAST()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTWriter.h557 void WritePreprocessor(const Preprocessor &PP, bool IsModule);
583 bool IsModule);