HomePhabricator

[Plugins/Process] Remove direct use of ClangASTContext from InferiorCallPOSIX

Description

[Plugins/Process] Remove direct use of ClangASTContext from InferiorCallPOSIX

Summary:
InferiorCallPOSIX directly grabs a ClangASTContext from the Target it
has and does no error checking. I don't think these functions have a
reason to know about clang specifically. Additionally, using
GetScratchTypeSystemForLanguage forces us to do error checking since
it returns an Expected.

Differential Revision: https://reviews.llvm.org/D67427

Details

Committed
xiaobaiSep 11 2019, 1:36 PM
Differential Revision
D67427: [Plugins/Process] Remove direct use of ClangASTContext from InferiorCallPOSIX
Branches
Unknown
Tags
Unknown