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.h38 FrontendInputFile CurrentInput; variable
132 assert(!CurrentInput.isEmpty() && "No current file!"); in isCurrentFileAST()
137 return CurrentInput; in getCurrentInput()
141 assert(!CurrentInput.isEmpty() && "No current file!"); in getCurrentFile()
142 return CurrentInput.getFile(); in getCurrentFile()
146 assert(!CurrentInput.isEmpty() && "No current file!"); in getCurrentFileOrBufferName()
147 return CurrentInput.isFile() in getCurrentFileOrBufferName()
148 ? CurrentInput.getFile() in getCurrentFileOrBufferName()
149 : CurrentInput.getBuffer().getBufferIdentifier(); in getCurrentFileOrBufferName()
153 assert(!CurrentInput.isEmpty() && "No current file!"); in getCurrentFileKind()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendAction.cpp285 void FrontendAction::setCurrentInput(const FrontendInputFile &CurrentInput, in setCurrentInput() argument
287 this->CurrentInput = CurrentInput; in setCurrentInput()
923 if (!CI.InitializeSourceManager(CurrentInput)) in BeginSourceFile()