r224995 - Add non-const version getFileSystemOpts() access function.

Yaron Keren yaron.keren at gmail.com
Tue Dec 30 10:46:43 PST 2014


Author: yrnkrn
Date: Tue Dec 30 12:46:42 2014
New Revision: 224995

URL: http://llvm.org/viewvc/llvm-project?rev=224995&view=rev
Log:
Add non-const version getFileSystemOpts() access function.
All the other get*Opts have both versions.


Modified:
    cfe/trunk/include/clang/Frontend/CompilerInstance.h

Modified: cfe/trunk/include/clang/Frontend/CompilerInstance.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/CompilerInstance.h?rev=224995&r1=224994&r2=224995&view=diff
==============================================================================
--- cfe/trunk/include/clang/Frontend/CompilerInstance.h (original)
+++ cfe/trunk/include/clang/Frontend/CompilerInstance.h Tue Dec 30 12:46:42 2014
@@ -250,6 +250,9 @@ public:
     return Invocation->getDiagnosticOpts();
   }
 
+  FileSystemOptions &getFileSystemOpts() {
+    return Invocation->getFileSystemOpts();
+  }
   const FileSystemOptions &getFileSystemOpts() const {
     return Invocation->getFileSystemOpts();
   }





More information about the cfe-commits mailing list