[PATCH] D38657: Update cl::opt<uint64_t> instances to cl::opt<unsigned long long>

Mitch Phillips via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 1 16:40:11 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL317141: Update cl::opt<uint64_t> instances to cl::opt<unsigned long long> (authored by hctim).

Changed prior to commit:
  https://reviews.llvm.org/D38657?vs=121211&id=121213#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D38657

Files:
  llvm/trunk/tools/llvm-cfi-verify/lib/GraphBuilder.cpp
  llvm/trunk/tools/llvm-cfi-verify/lib/GraphBuilder.h


Index: llvm/trunk/tools/llvm-cfi-verify/lib/GraphBuilder.h
===================================================================
--- llvm/trunk/tools/llvm-cfi-verify/lib/GraphBuilder.h
+++ llvm/trunk/tools/llvm-cfi-verify/lib/GraphBuilder.h
@@ -47,8 +47,8 @@
 namespace llvm {
 namespace cfi_verify {
 
-extern uint64_t SearchLengthForUndef;
-extern uint64_t SearchLengthForConditionalBranch;
+extern unsigned long long SearchLengthForUndef;
+extern unsigned long long SearchLengthForConditionalBranch;
 
 struct ConditionalBranchNode {
   uint64_t Address;
Index: llvm/trunk/tools/llvm-cfi-verify/lib/GraphBuilder.cpp
===================================================================
--- llvm/trunk/tools/llvm-cfi-verify/lib/GraphBuilder.cpp
+++ llvm/trunk/tools/llvm-cfi-verify/lib/GraphBuilder.cpp
@@ -41,17 +41,17 @@
 namespace llvm {
 namespace cfi_verify {
 
-uint64_t SearchLengthForUndef;
-uint64_t SearchLengthForConditionalBranch;
+unsigned long long SearchLengthForUndef;
+unsigned long long SearchLengthForConditionalBranch;
 
-static cl::opt<uint64_t, true> SearchLengthForUndefArg(
+static cl::opt<unsigned long long, true> SearchLengthForUndefArg(
     "search-length-undef",
     cl::desc("Specify the maximum amount of instructions "
              "to inspect when searching for an undefined "
              "instruction from a conditional branch."),
     cl::location(SearchLengthForUndef), cl::init(2));
 
-static cl::opt<uint64_t, true> SearchLengthForConditionalBranchArg(
+static cl::opt<unsigned long long, true> SearchLengthForConditionalBranchArg(
     "search-length-cb",
     cl::desc("Specify the maximum amount of instructions "
              "to inspect when searching for a conditional "


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38657.121213.patch
Type: text/x-patch
Size: 1719 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171101/2f195198/attachment.bin>


More information about the llvm-commits mailing list