Skip to content

Commit ec9c37f

Browse files
Add purpose and suitability warning to nfa.h
1 parent 216c3c2 commit ec9c37f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/util/nfa.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
/// \file
22
/// \author Diffblue Ltd.
33
///
4-
/// A simple NFA implementation
4+
/// A simple NFA implementation.
5+
///
6+
/// This was created for use in the util/edit_distance.h functionality, which
7+
/// in turn is used in util/cmdline.h for suggesting spelling corrections when
8+
/// a user mistypes a command line option. Because of this the implementation
9+
/// wasn’t done with performance in mind and is probably unsuitable as-is for
10+
/// other purposes where performance does matter.
511

612
#ifndef CPROVER_UTIL_NFA_H
713
#define CPROVER_UTIL_NFA_H

0 commit comments

Comments
 (0)