]> granicus.if.org Git - clang/commitdiff
Add non-const version getFileSystemOpts() access function.
authorYaron Keren <yaron.keren@gmail.com>
Tue, 30 Dec 2014 18:46:42 +0000 (18:46 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Tue, 30 Dec 2014 18:46:42 +0000 (18:46 +0000)
All the other get*Opts have both versions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@224995 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Frontend/CompilerInstance.h

index 31a0d098a21dea753d2cc5cd2d21157adc427415..6ac6b433709850128735b9d7f514a190a061d4d2 100644 (file)
@@ -250,6 +250,9 @@ public:
     return Invocation->getDiagnosticOpts();
   }
 
+  FileSystemOptions &getFileSystemOpts() {
+    return Invocation->getFileSystemOpts();
+  }
   const FileSystemOptions &getFileSystemOpts() const {
     return Invocation->getFileSystemOpts();
   }