aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorAbhina Sreeskantharajan <Abhina.Sreeskantharajan@ibm.com>2021-03-23 07:17:33 -0400
committerAbhina Sreeskantharajan <Abhina.Sreeskantharajan@ibm.com>2021-03-23 07:17:54 -0400
commita234d0319891ae25cdf020dc32bce1c37c0e9867 (patch)
tree324e56aa08475a26c50bd6b422eb1ea3bf979821 /llvm/utils/FileCheck/FileCheck.cpp
parent581adb4f1a6e8af529c0839d3692ca20416b290e (diff)
downloadllvm-a234d0319891ae25cdf020dc32bce1c37c0e9867.zip
llvm-a234d0319891ae25cdf020dc32bce1c37c0e9867.tar.gz
llvm-a234d0319891ae25cdf020dc32bce1c37c0e9867.tar.bz2
[NFC] Formatting changes
This patch addresses some formatting changes from the comments in https://reviews.llvm.org/D97785. Reviewed By: anirudhp Differential Revision: https://reviews.llvm.org/D99072
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
-rw-r--r--llvm/utils/FileCheck/FileCheck.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/utils/FileCheck/FileCheck.cpp b/llvm/utils/FileCheck/FileCheck.cpp
index 0ee105d..12365e0 100644
--- a/llvm/utils/FileCheck/FileCheck.cpp
+++ b/llvm/utils/FileCheck/FileCheck.cpp
@@ -821,9 +821,9 @@ int main(int argc, char **argv) {
// Read the expected strings from the check file.
ErrorOr<std::unique_ptr<MemoryBuffer>> CheckFileOrErr =
- MemoryBuffer::getFileOrSTDIN(CheckFilename, /*FileSize*/ -1,
- /*RequiresNullTerminator*/ true,
- /*IsText*/ true);
+ MemoryBuffer::getFileOrSTDIN(CheckFilename, /*FileSize=*/-1,
+ /*RequiresNullTerminator=*/true,
+ /*IsText=*/true);
if (std::error_code EC = CheckFileOrErr.getError()) {
errs() << "Could not open check file '" << CheckFilename
<< "': " << EC.message() << '\n';
@@ -845,9 +845,9 @@ int main(int argc, char **argv) {
// Open the file to check and add it to SourceMgr.
ErrorOr<std::unique_ptr<MemoryBuffer>> InputFileOrErr =
- MemoryBuffer::getFileOrSTDIN(InputFilename, /*FileSize*/ -1,
- /*RequiresNullTerminator*/ true,
- /*IsText*/ true);
+ MemoryBuffer::getFileOrSTDIN(InputFilename, /*FileSize=*/-1,
+ /*RequiresNullTerminator=*/true,
+ /*IsText=*/true);
if (InputFilename == "-")
InputFilename = "<stdin>"; // Overwrite for improved diagnostic messages
if (std::error_code EC = InputFileOrErr.getError()) {