HomePhabricator

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

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.

Details

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