qpcpp/ports/lint-plus/au-ds.lnt

22 lines
646 B
Plaintext
Raw Normal View History

2017-05-17 13:15:09 -04:00
// au-ds.lnt -- Author options - Dan Saks
/*
This options file can be used to explicitly activate those
checks advocated by Dan Saks in his series of presentations on
"C++ Gotchas".
You can use this file directly when linting your programs as in:
lin au-ds files
*/
+fsc // consider string constants as const char *
+e1933 // turn on "virtual call from member detection"
// The rationale for the following two options are fully described
2019-12-31 15:56:23 -05:00
// in Dan Saks' article "const T vs. T const". Visit his web site
2017-05-17 13:15:09 -04:00
// at www.dansaks.com and click "Published Articles".
//
-fqb +e963 // require T const rather than const T