summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/Views/View.cpp
diff options
context:
space:
mode:
authorMatt Davis <Matthew.Davis@sony.com>2018-08-24 20:24:53 +0000
committerMatt Davis <Matthew.Davis@sony.com>2018-08-24 20:24:53 +0000
commit10aa09f0080fd88483d6be7eaa642772f4e0da60 (patch)
tree447ffbd6484d252616ef5f344aeee604fcc3ba31 /llvm/tools/llvm-mca/Views/View.cpp
parent7a4750ffe0d3f4a7d737db247894994abf7dcd78 (diff)
downloadbcm5719-llvm-10aa09f0080fd88483d6be7eaa642772f4e0da60.tar.gz
bcm5719-llvm-10aa09f0080fd88483d6be7eaa642772f4e0da60.zip
[llvm-mca] Move views and stats into a Views subdir. NFC.
llvm-svn: 340645
Diffstat (limited to 'llvm/tools/llvm-mca/Views/View.cpp')
-rw-r--r--llvm/tools/llvm-mca/Views/View.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/llvm/tools/llvm-mca/Views/View.cpp b/llvm/tools/llvm-mca/Views/View.cpp
new file mode 100644
index 00000000000..1cf4daeec84
--- /dev/null
+++ b/llvm/tools/llvm-mca/Views/View.cpp
@@ -0,0 +1,20 @@
+//===----------------------- View.cpp ---------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+/// \file
+///
+/// This file defines the virtual anchor method in View.h to pin the vtable.
+///
+//===----------------------------------------------------------------------===//
+
+#include "Views/View.h"
+
+namespace mca {
+
+void View::anchor() {}
+} // namespace mca
OpenPOWER on IntegriCloud