]> granicus.if.org Git - clang/commit
now the FileManager has a FileSystemOpts ivar, stop threading
authorChris Lattner <sabre@nondot.org>
Tue, 23 Nov 2010 08:35:12 +0000 (08:35 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 23 Nov 2010 08:35:12 +0000 (08:35 +0000)
commit39b49bcaaddb1049234fca9500c0ac02c088e23d
tree4f7ac9da3cf2bcbad0aebfb781b7635462b431cf
parent458b5e25052a1052eb873f9145298e0f0aa75cd1
now the FileManager has a FileSystemOpts ivar, stop threading
FileSystemOpts through a ton of apis, simplifying a lot of code.
This also fixes a latent bug in ASTUnit where it would invoke
methods on FileManager without creating one in some code paths
in cindextext.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120010 91177308-0d34-0410-b5e6-96231b3b80d8
28 files changed:
include/clang/AST/ASTImporter.h
include/clang/Basic/FileManager.h
include/clang/Basic/SourceManager.h
include/clang/Frontend/CompilerInstance.h
include/clang/Frontend/Utils.h
include/clang/Lex/HeaderMap.h
include/clang/Lex/HeaderSearch.h
include/clang/Lex/PTHManager.h
include/clang/Lex/Preprocessor.h
include/clang/Serialization/ASTReader.h
lib/AST/ASTImporter.cpp
lib/Basic/FileManager.cpp
lib/Basic/SourceManager.cpp
lib/Frontend/ASTMerge.cpp
lib/Frontend/ASTUnit.cpp
lib/Frontend/CompilerInstance.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Frontend/FrontendAction.cpp
lib/Frontend/FrontendActions.cpp
lib/Frontend/InitHeaderSearch.cpp
lib/Frontend/InitPreprocessor.cpp
lib/Lex/HeaderMap.cpp
lib/Lex/HeaderSearch.cpp
lib/Lex/PTHLexer.cpp
lib/Lex/Preprocessor.cpp
lib/Serialization/ASTReader.cpp
tools/libclang/CIndex.cpp
tools/libclang/CIndexCodeCompletion.cpp