[PATCH] D67649: [FileCheck] Move private interface to its own header
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 17 13:53:01 PDT 2019
dblaikie added inline comments.
================
Comment at: llvm/include/llvm/Support/FileCheck.h:28
namespace llvm {
+namespace filecheck {
----------------
Does this need a new namespace? We don't really use too many of them in LLVM & if things are moving out of the header, I'd expect this change would only reduce the chance of naming collisions and reduce the need for an extra namespace.
================
Comment at: llvm/lib/Support/FileCheck.cpp:1121-1122
-bool FileCheck::ReadCheckFile(SourceMgr &SM, StringRef Buffer, Regex &PrefixRE,
- std::vector<FileCheckString> &CheckStrings) {
+bool FileCheck::ReadCheckFile(SourceMgr &SM, StringRef Buffer,
+ Regex &PrefixRE) {
Error DefineError =
----------------
Probably best to separate out API changes like this into a separate patch from the code movement.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67649/new/
https://reviews.llvm.org/D67649
More information about the llvm-commits
mailing list