Home
last modified time | relevance | path

Searched refs:CurrentFile (Results 1 – 4 of 4) sorted by relevance

/llvm-project/clang-tools-extra/clang-tidy/modernize/
H A DMacroToEnumCheck.cpp191 return (CurrentFile->GuardScanner == IncludeGuard::DefineGuard && in insideConditional()
192 CurrentFile->ConditionScopes > 1) || in insideConditional()
193 (CurrentFile->GuardScanner != IncludeGuard::DefineGuard && in insideConditional()
194 CurrentFile->ConditionScopes > 0); in insideConditional()
198 CurrentFile->LastLine = SM.getSpellingLineNumber(MD->getLocation()); in rememberLastMacroLocation()
199 CurrentFile->LastMacroLocation = Lexer::getLocForEndOfToken( in rememberLastMacroLocation()
203 CurrentFile->LastLine = 0; in clearLastMacroLocation()
204 CurrentFile->LastMacroLocation = SourceLocation{}; in clearLastMacroLocation()
224 FileState *CurrentFile = nullptr; member in clang::tidy::modernize::MacroToEnumCallbacks
228 if (CurrentFile->LastMacroLocation.isInvalid()) in isConsecutiveMacro()
[all …]
/llvm-project/clang-tools-extra/clang-tidy/
H A DClangTidyDiagnosticConsumer.h135 StringRef getCurrentFile() const { return CurrentFile; }
147 /// Returns \c true if the check is enabled for the \c CurrentFile.
149 /// The \c CurrentFile can be changed using \c setCurrentFile.
153 /// \c CurrentFile.
159 /// Returns options for \c CurrentFile.
161 /// The \c CurrentFile can be changed using \c setCurrentFile.
165 /// \c CurrentFile. in getHeaderFileExtensions()
237 std::string CurrentFile;
234 std::string CurrentFile; global() variable
H A DClangTidyDiagnosticConsumer.cpp238 CurrentFile = std::string(File); in setCurrentFile()
239 CurrentOptions = getOptionsForFile(CurrentFile); in setCurrentFile()
282 return ClangTidyProfiling::StorageParams(ProfilePrefix, CurrentFile); in getProfileStorageParams()
/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningWorker.cpp113 CurrentFile = Filename; in visitModuleFile()
120 {CurrentFile, llvm::StringSet<>(VFSOverlayFiles)}); in ReadHeaderSearchPaths()
132 std::string CurrentFile; member in __anond7e831410111::PrebuiltModuleListener