[PATCH] D27463: Change llvm::Regex to expose a fallible constructor.

David L. Jones via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 7 11:33:51 PST 2016


dlj updated this revision to Diff 80631.
dlj added a comment.

- Add comments for unhandled errors that will assert-fail.
- Augment error handling in LinePrinter.
- Fix a broken regex in ARMScheduleR52.td (empty subexpressions are not allowed by our regex library).


https://reviews.llvm.org/D27463

Files:
  include/llvm/Support/Regex.h
  include/llvm/Support/YAMLTraits.h
  lib/IR/AutoUpgrade.cpp
  lib/IR/DiagnosticInfo.cpp
  lib/Passes/PassBuilder.cpp
  lib/Support/Regex.cpp
  lib/Support/SpecialCaseList.cpp
  lib/Support/regerror.c
  lib/Support/regex_impl.h
  lib/Target/AArch64/Utils/AArch64BaseInfo.cpp
  lib/Target/ARM/ARMScheduleR52.td
  lib/Transforms/Utils/SymbolRewriter.cpp
  tools/llvm-cov/CodeCoverage.cpp
  tools/llvm-cov/CoverageFilters.cpp
  tools/llvm-cov/CoverageFilters.h
  tools/llvm-extract/llvm-extract.cpp
  tools/llvm-pdbdump/LinePrinter.cpp
  tools/llvm-pdbdump/LinePrinter.h
  tools/llvm-pdbdump/llvm-pdbdump.cpp
  tools/sancov/sancov.cc
  unittests/Support/RegexTest.cpp
  utils/FileCheck/FileCheck.cpp
  utils/TableGen/CodeGenSchedule.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27463.80631.patch
Type: text/x-patch
Size: 30803 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161207/17399cbe/attachment.bin>


More information about the llvm-commits mailing list