[PATCH] D66640: [FileCheck] Make NumericVariable ctor explicit
Thomas Preud'homme via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 2 07:08:33 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL370664: [FileCheck] Make NumericVariable ctor explicit (authored by thopre, committed by ).
Herald added a subscriber: kristina.
Changed prior to commit:
https://reviews.llvm.org/D66640?vs=216800&id=218361#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66640/new/
https://reviews.llvm.org/D66640
Files:
llvm/trunk/include/llvm/Support/FileCheck.h
Index: llvm/trunk/include/llvm/Support/FileCheck.h
===================================================================
--- llvm/trunk/include/llvm/Support/FileCheck.h
+++ llvm/trunk/include/llvm/Support/FileCheck.h
@@ -109,8 +109,8 @@
public:
/// Constructor for a variable \p Name defined at line \p DefLineNumber or
/// defined before input is parsed if \p DefLineNumber is None.
- FileCheckNumericVariable(StringRef Name,
- Optional<size_t> DefLineNumber = None)
+ explicit FileCheckNumericVariable(StringRef Name,
+ Optional<size_t> DefLineNumber = None)
: Name(Name), DefLineNumber(DefLineNumber) {}
/// \returns name of this numeric variable.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66640.218361.patch
Type: text/x-patch
Size: 731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190902/c0b674ea/attachment.bin>
More information about the llvm-commits
mailing list