summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/pointertobool.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/pointertobool.cxx')
-rw-r--r--compilerplugins/clang/pointertobool.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/compilerplugins/clang/pointertobool.cxx b/compilerplugins/clang/pointertobool.cxx
index 809e50b5c132..d1637cf5525c 100644
--- a/compilerplugins/clang/pointertobool.cxx
+++ b/compilerplugins/clang/pointertobool.cxx
@@ -41,15 +41,15 @@ class PointerToBool
, public Plugin
{
public:
- explicit PointerToBool( CompilerInstance& compiler );
+ explicit PointerToBool( const InstantiationData& data );
void run();
bool VisitImplicitCastExpr( const ImplicitCastExpr* expr );
private:
bool ignoreConversion( const Stmt* stmt );
};
-PointerToBool::PointerToBool( CompilerInstance& compiler )
- : Plugin( compiler )
+PointerToBool::PointerToBool( const InstantiationData& data )
+ : Plugin( data )
{
}