aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/clang/lib/Basic/Targets.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/clang/lib/Basic/Targets.h')
-rw-r--r--contrib/llvm-project/clang/lib/Basic/Targets.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/llvm-project/clang/lib/Basic/Targets.h b/contrib/llvm-project/clang/lib/Basic/Targets.h
index a063204e69e6..b4d2486b5d2b 100644
--- a/contrib/llvm-project/clang/lib/Basic/Targets.h
+++ b/contrib/llvm-project/clang/lib/Basic/Targets.h
@@ -24,8 +24,8 @@ namespace clang {
namespace targets {
LLVM_LIBRARY_VISIBILITY
-clang::TargetInfo *AllocateTarget(const llvm::Triple &Triple,
- const clang::TargetOptions &Opts);
+std::unique_ptr<clang::TargetInfo>
+AllocateTarget(const llvm::Triple &Triple, const clang::TargetOptions &Opts);
/// DefineStd - Define a macro name and standard variants. For example if
/// MacroName is "unix", then this will define "__unix", "__unix__", and "unix"