diff options
author | Yaron Keren <yaron.keren@gmail.com> | 2015-08-26 08:10:22 +0000 |
---|---|---|
committer | Yaron Keren <yaron.keren@gmail.com> | 2015-08-26 08:10:22 +0000 |
commit | 8dec46cf5a2b6a99971aaa0d73425c38cca4aad2 (patch) | |
tree | afdec914041ceced0c4b6fb07a7c5bf5dec2a737 /clang/lib/Serialization/ASTWriter.cpp | |
parent | 653592d7ce84d8c9e30c571daa21971498158f58 (diff) | |
download | bcm5719-llvm-8dec46cf5a2b6a99971aaa0d73425c38cca4aad2.tar.gz bcm5719-llvm-8dec46cf5a2b6a99971aaa0d73425c38cca4aad2.zip |
Make FileManager::getFileSystemOptions consistent with CompilerInstance::getFileSystemOpts
and CompilerInvocation::getFileSystemOpts by renaming it to getFileSystemOpts,
marking the const-returning access method const and adding a non-const version,
making the function prototypes identical to CompilerInstance::getFileSystemOpts.
llvm-svn: 246026
Diffstat (limited to 'clang/lib/Serialization/ASTWriter.cpp')
-rw-r--r-- | clang/lib/Serialization/ASTWriter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Serialization/ASTWriter.cpp b/clang/lib/Serialization/ASTWriter.cpp index 7058ba3eb9b..9563b385e95 100644 --- a/clang/lib/Serialization/ASTWriter.cpp +++ b/clang/lib/Serialization/ASTWriter.cpp @@ -1326,8 +1326,8 @@ void ASTWriter::WriteControlBlock(Preprocessor &PP, ASTContext &Context, // File system options. Record.clear(); - const FileSystemOptions &FSOpts - = Context.getSourceManager().getFileManager().getFileSystemOptions(); + const FileSystemOptions &FSOpts = + Context.getSourceManager().getFileManager().getFileSystemOpts(); AddString(FSOpts.WorkingDir, Record); Stream.EmitRecord(FILE_SYSTEM_OPTIONS, Record); |