summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/tools/clang/lib/Basic/ObjCRuntime.cpp
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2019-01-27 16:42:12 +0000
committerpatrick <patrick@openbsd.org>2019-01-27 16:42:12 +0000
commitb773203fb58f3ef282fb69c832d8710cab5bc82d (patch)
treee75913f147570fbd75169647b144df85b88a038c /gnu/llvm/tools/clang/lib/Basic/ObjCRuntime.cpp
parenttweak errno in previous (diff)
downloadwireguard-openbsd-b773203fb58f3ef282fb69c832d8710cab5bc82d.tar.xz
wireguard-openbsd-b773203fb58f3ef282fb69c832d8710cab5bc82d.zip
Import LLVM 7.0.1 release including clang, lld and lldb.
Diffstat (limited to 'gnu/llvm/tools/clang/lib/Basic/ObjCRuntime.cpp')
-rw-r--r--gnu/llvm/tools/clang/lib/Basic/ObjCRuntime.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/llvm/tools/clang/lib/Basic/ObjCRuntime.cpp b/gnu/llvm/tools/clang/lib/Basic/ObjCRuntime.cpp
index 133c66945dd..311bd067261 100644
--- a/gnu/llvm/tools/clang/lib/Basic/ObjCRuntime.cpp
+++ b/gnu/llvm/tools/clang/lib/Basic/ObjCRuntime.cpp
@@ -1,4 +1,4 @@
-//===- ObjCRuntime.cpp - Objective-C Runtime Handling -----------*- C++ -*-===//
+//===- ObjCRuntime.cpp - Objective-C Runtime Handling ---------------------===//
//
// The LLVM Compiler Infrastructure
//
@@ -11,8 +11,13 @@
// target Objective-C runtime.
//
//===----------------------------------------------------------------------===//
+
#include "clang/Basic/ObjCRuntime.h"
+#include "llvm/ADT/StringRef.h"
+#include "llvm/Support/VersionTuple.h"
#include "llvm/Support/raw_ostream.h"
+#include <cstddef>
+#include <string>
using namespace clang;
@@ -22,7 +27,7 @@ std::string ObjCRuntime::getAsString() const {
llvm::raw_string_ostream Out(Result);
Out << *this;
}
- return Result;
+ return Result;
}
raw_ostream &clang::operator<<(raw_ostream &out, const ObjCRuntime &value) {