diff options
Diffstat (limited to 'lib/Frontend/CompilerInstance.cpp')
-rw-r--r-- | lib/Frontend/CompilerInstance.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Frontend/CompilerInstance.cpp b/lib/Frontend/CompilerInstance.cpp index 896e58184b..9e7b630bf1 100644 --- a/lib/Frontend/CompilerInstance.cpp +++ b/lib/Frontend/CompilerInstance.cpp @@ -600,9 +600,9 @@ bool CompilerInstance::InitializeSourceManager(const FrontendInputFile &Input, FileManager &FileMgr, SourceManager &SourceMgr, const FrontendOptions &Opts) { - StringRef InputFile = Input.File; + StringRef InputFile = Input.getFile(); SrcMgr::CharacteristicKind - Kind = Input.IsSystem ? SrcMgr::C_System : SrcMgr::C_User; + Kind = Input.isSystem() ? SrcMgr::C_System : SrcMgr::C_User; // Figure out where to get and map in the main file. if (InputFile != "-") { |