Home
last modified time | relevance | path

Searched refs:CurrentInput (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DFrontendAction.h37 FrontendInputFile CurrentInput; variable
131 assert(!CurrentInput.isEmpty() && "No current file!"); in isCurrentFileAST()
136 return CurrentInput; in getCurrentInput()
140 assert(!CurrentInput.isEmpty() && "No current file!"); in getCurrentFile()
141 return CurrentInput.getFile(); in getCurrentFile()
145 assert(!CurrentInput.isEmpty() && "No current file!"); in getCurrentFileOrBufferName()
146 return CurrentInput.isFile() in getCurrentFileOrBufferName()
147 ? CurrentInput.getFile() in getCurrentFileOrBufferName()
148 : CurrentInput.getBuffer().getBufferIdentifier(); in getCurrentFileOrBufferName()
152 assert(!CurrentInput.isEmpty() && "No current file!"); in getCurrentFileKind()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendAction.cpp151 void FrontendAction::setCurrentInput(const FrontendInputFile &CurrentInput, in setCurrentInput() argument
153 this->CurrentInput = CurrentInput; in setCurrentInput()
775 if (!CI.InitializeSourceManager(CurrentInput)) in BeginSourceFile()