HomePhabricator

[lldb][NFC] Disallow changing the ASTContext of an ClangASTContext after…

Authored by teemperor on Oct 1 2019, 5:55 AM.

Description

[lldb][NFC] Disallow changing the ASTContext of an ClangASTContext after construction.

We have no use case in LLDB where we actually do want to change the ASTContext after
it the ClangASTContext has been constructed. All callers of setASTContext are just setting
the ASTContext directly after construction, so we might as well make this a Constructor
instead of supporting this tricky use case.

llvm-svn: 373330

Details

Committed
teemperorOct 1 2019, 5:55 AM
Parents
rGd01b4a786271: [lldb][NFC] Modernize ClangASTContext constructor
Branches
Unknown
Tags
Unknown