Skip to content
Commit 49cc3181 authored by David Blaikie's avatar David Blaikie
Browse files

Overload SourceManager::overrideFileContents so that unconditionally passing...

Overload SourceManager::overrideFileContents so that unconditionally passing ownership is explicitly done using unique_ptr.

Only those callers who are dynamically passing ownership should need the
3 argument form. Those accepting the default ("do pass ownership")
should do so explicitly with a unique_ptr now.

llvm-svn: 216614
parent 833bc681
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment