diff options
| author | Chris Bieneman <beanz@apple.com> | 2016-10-03 04:48:22 +0000 |
|---|---|---|
| committer | Chris Bieneman <beanz@apple.com> | 2016-10-03 04:48:22 +0000 |
| commit | 7fac28f7ac0bfbabf889ddccec0523372dfd6a77 (patch) | |
| tree | fb3535e037ff11e91246fcf78517b79e5af350d3 /clang/lib/Parse/ParseStmt.cpp | |
| parent | dec815c8ecf041dfe6ef1c19d1217033bda8d54e (diff) | |
| download | bcm5719-llvm-7fac28f7ac0bfbabf889ddccec0523372dfd6a77.tar.gz bcm5719-llvm-7fac28f7ac0bfbabf889ddccec0523372dfd6a77.zip | |
[lit] Throw in unimplemented method (NFC)
Summary:
lit's `OneCommandFileTest` class implements an abstract method that
raises if called. However, it raises by referencing an undefined
symbol. Instead, raise explicitly by throwing a `NotImplementedError`.
This is clearer, and appeases Python linters.
Patch By Brian Gesiak!
Reviewers: ddunbar, echristo, beanz
Subscribers: llvm-commits, mehdi_amini
Differential Revision: https://reviews.llvm.org/D25170
llvm-svn: 283090
Diffstat (limited to 'clang/lib/Parse/ParseStmt.cpp')
0 files changed, 0 insertions, 0 deletions

