summaryrefslogtreecommitdiff
path: root/src/rules/constructor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rules/constructor.cpp')
-rw-r--r--src/rules/constructor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rules/constructor.cpp b/src/rules/constructor.cpp
index 8777ce1..e1795cb 100644
--- a/src/rules/constructor.cpp
+++ b/src/rules/constructor.cpp
@@ -57,7 +57,8 @@ parseLineRule(constructor)
}
else
{
- if (data.find("(") != std::string::npos)
+ if (data.find("(") != std::string::npos &&
+ data.find("A_NONNULL(") == std::string::npos)
{
align = 0 ;
const size_t sz = data.size();