Explorar o código

[XRay][tools] Rename llvm-xray filenames from .cc -> .cpp (NFC)

Summary:
This brings the filenames in accordance to the style guide and LLVM
conventions for C++ filenames.

As suggested by rnk@ in D46068.

Reviewers: rnk

Subscribers: mgorny, mgrang, llvm-commits

Differential Revision: https://reviews.llvm.org/D46301

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@331321 91177308-0d34-0410-b5e6-96231b3b80d8
Dean Michael Berris %!s(int64=7) %!d(string=hai) anos
pai
achega
f4f861bbdf

+ 10 - 10
tools/llvm-xray/CMakeLists.txt

@@ -7,14 +7,14 @@ set(LLVM_LINK_COMPONENTS
   XRay)
 
 set(LLVM_XRAY_TOOLS
-  func-id-helper.cc
-  xray-account.cc
-  xray-color-helper.cc
-  xray-converter.cc
-  xray-extract.cc
-  xray-graph.cc
-  xray-graph-diff.cc
-  xray-stacks.cc
-  xray-registry.cc)
+  func-id-helper.cpp
+  xray-account.cpp
+  xray-color-helper.cpp
+  xray-converter.cpp
+  xray-extract.cpp
+  xray-graph.cpp
+  xray-graph-diff.cpp
+  xray-stacks.cpp
+  xray-registry.cpp)
 
-add_llvm_tool(llvm-xray llvm-xray.cc ${LLVM_XRAY_TOOLS})
+add_llvm_tool(llvm-xray llvm-xray.cpp ${LLVM_XRAY_TOOLS})

+ 1 - 1
tools/llvm-xray/func-id-helper.cc → tools/llvm-xray/func-id-helper.cpp

@@ -1,4 +1,4 @@
-//===- xray-fc-account.cc - XRay Function Call Accounting Tool ------------===//
+//===- xray-fc-account.cpp: XRay Function Call Accounting Tool ------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //

+ 1 - 1
tools/llvm-xray/llvm-xray.cc → tools/llvm-xray/llvm-xray.cpp

@@ -1,4 +1,4 @@
-//===- llvm-xray.cc - XRay Tool Main Program ------------------------------===//
+//===- llvm-xray.cpp: XRay Tool Main Program ------------------------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //

+ 0 - 0
tools/llvm-xray/xray-account.cc → tools/llvm-xray/xray-account.cpp


+ 1 - 1
tools/llvm-xray/xray-color-helper.cc → tools/llvm-xray/xray-color-helper.cpp

@@ -1,4 +1,4 @@
-//===-- xray-graph.cc - XRay Function Call Graph Renderer -----------------===//
+//===-- xray-graph.cpp: XRay Function Call Graph Renderer -----------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //

+ 1 - 1
tools/llvm-xray/xray-converter.cc → tools/llvm-xray/xray-converter.cpp

@@ -1,4 +1,4 @@
-//===- xray-converter.cc - XRay Trace Conversion --------------------------===//
+//===- xray-converter.cpp: XRay Trace Conversion --------------------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //

+ 1 - 1
tools/llvm-xray/xray-extract.cc → tools/llvm-xray/xray-extract.cpp

@@ -1,4 +1,4 @@
-//===- xray-extract.cc - XRay Instrumentation Map Extraction --------------===//
+//===- xray-extract.cpp: XRay Instrumentation Map Extraction --------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //

+ 1 - 1
tools/llvm-xray/xray-graph-diff.cc → tools/llvm-xray/xray-graph-diff.cpp

@@ -1,4 +1,4 @@
-//===-- xray-graph-diff.cc - XRay Function Call Graph Renderer ------------===//
+//===-- xray-graph-diff.cpp: XRay Function Call Graph Renderer ------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //

+ 1 - 1
tools/llvm-xray/xray-graph.cc → tools/llvm-xray/xray-graph.cpp

@@ -1,4 +1,4 @@
-//===-- xray-graph.cc - XRay Function Call Graph Renderer -----------------===//
+//===-- xray-graph.cpp: XRay Function Call Graph Renderer -----------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //

+ 1 - 1
tools/llvm-xray/xray-registry.cc → tools/llvm-xray/xray-registry.cpp

@@ -1,4 +1,4 @@
-//===- xray-registry.cc - Implement a command registry. -------------------===//
+//===- xray-registry.cpp: Implement a command registry. -------------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //

+ 1 - 1
tools/llvm-xray/xray-stacks.cc → tools/llvm-xray/xray-stacks.cpp

@@ -1,4 +1,4 @@
-//===- xray-stacks.cc - XRay Function Call Stack Accounting ---------------===//
+//===- xray-stacks.cpp: XRay Function Call Stack Accounting ---------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //