diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-16 10:26:03 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-16 10:26:03 +0100 |
commit | 0f4f5621d194c9221b55bb4a20a251a0bb497d69 (patch) | |
tree | 03cc7a98a34fc0ff48b7fe5e16bed8390ea39fc9 /compilerplugins | |
parent | cafe7442f0aaa09ed25193c450330c2f2662d9ab (diff) |
Use compat::isLookupContext
Change-Id: I5b4523929f971d0345f112ba4f5faff1181cee2b
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/salbool.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/salbool.cxx b/compilerplugins/clang/salbool.cxx index bdb56eae62be..a17f112b2fea 100644 --- a/compilerplugins/clang/salbool.cxx +++ b/compilerplugins/clang/salbool.cxx @@ -108,7 +108,7 @@ BoolOverloadKind isBoolOverloadOf( // encounter in practice: bool hasBoolOverload(FunctionDecl const * decl, bool mustBeDeleted) { auto ctx = decl->getDeclContext(); - if (!ctx->isLookupContext()) { + if (!compat::isLookupContext(*ctx)) { return false; } auto res = ctx->lookup(decl->getDeclName()); |