Skip to content

Commit 5411f64

Browse files
committed
[llvm] manual fix-ups to LLVM annotations
1 parent bde763b commit 5411f64

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

llvm/include/llvm/Telemetry/Telemetry.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,13 @@ class Destination {
144144
/// monitored and transmitting the data elsewhere.
145145
class LLVM_ABI Manager {
146146
public:
147+
Manager() = default;
147148
virtual ~Manager() = default;
148149

150+
// Explicitly non-copyable.
151+
Manager(Manager const&) = delete;
152+
Manager& operator=(Manager const&) = delete;
153+
149154
// Dispatch Telemetry data to the Destination(s).
150155
// The argument is non-const because the Manager may add or remove
151156
// data from the entry.

llvm/include/llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
#ifndef LLVM_TOOLDRIVERS_LLVM_DLLTOOL_DLLTOOLDRIVER_H
1515
#define LLVM_TOOLDRIVERS_LLVM_DLLTOOL_DLLTOOLDRIVER_H
1616

17+
#include "llvm/Support/Compiler.h"
18+
1719
namespace llvm {
1820
template <typename T> class ArrayRef;
1921

llvm/include/llvm/ToolDrivers/llvm-lib/LibDriver.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
#ifndef LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H
1515
#define LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H
1616

17+
#include "llvm/Support/Compiler.h"
18+
1719
namespace llvm {
1820
template <typename T> class ArrayRef;
1921

0 commit comments

Comments
 (0)