Skip to content

Commit 7f16dd5

Browse files
committed
Add TODO comment back, but in the Gadget class
1 parent d9e7b26 commit 7f16dd5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/lib/Analysis/UnsafeBufferUsage.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,8 @@ class Gadget {
492492
#endif
493493

494494
virtual bool isWarningGadget() const = 0;
495+
// TODO remove this method from WarningGadget interface. It's only used for
496+
// debug prints in FixableGadget.
495497
virtual SourceLocation getSourceLoc() const = 0;
496498

497499
/// Returns the list of pointer-type variables on which this gadget performs

0 commit comments

Comments
 (0)