[clazy] [Bug 385851] Allow visiting of implicit code

2017-10-19 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=385851

Sergio Martins  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Sergio Martins  ---
commit ec9ec84e7fd73f5a4753973660ad4f301eaa8c0e (HEAD -> master, origin/master)
Author: Sergio Martins 
Date:   Thu Oct 19 18:35:27 2017 +0100

Minor cleanup to previous commit regarding visit-implicit-code

CCBUG: 385851

commit 4847a25f3fa65744bd7dd23533da6bb8783ca6b6
Author: Richard Oehlinger 
Date:   Thu Oct 19 16:00:29 2017 +0200

Add option to visit implicit code, such as compiler generated CTORs

Although clazy's built-in checks don't need this, some custom user
checks might

Not enabled by default as it causes a slight slowdown

BUG: 385851

-- 
You are receiving this mail because:
You are watching all bug changes.

[clazy] [Bug 385851] Allow visiting of implicit code

2017-10-18 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=385851

Sergio Martins  changed:

   What|Removed |Added

 Ever confirmed|0   |1
   Assignee|unassigned-b...@kde.org |smart...@kde.org
 Status|UNCONFIRMED |CONFIRMED

--- Comment #3 from Sergio Martins  ---
It makes things considerably slower (11m vs 15m to build qtbase), so I'll add
an opt-in option to enable it

-- 
You are receiving this mail because:
You are watching all bug changes.

[clazy] [Bug 385851] Allow visiting of implicit code

2017-10-17 Thread Richard
https://bugs.kde.org/show_bug.cgi?id=385851

--- Comment #2 from Richard  ---
We've an in-house check for a 3rdparty library which we cannot control to flag
default construction of several types:

//in thirdpartylib.h
class DoNotDefaultConstruct {
//
}

//in our code
DoNotDefaultConstruct c; // will be flagged as intended
struct SomeStruct {
DoNotDefaultConstruct c;
} inst; //should be flagged, but won't

-- 
You are receiving this mail because:
You are watching all bug changes.

[clazy] [Bug 385851] Allow visiting of implicit code

2017-10-17 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=385851

--- Comment #1 from Sergio Martins  ---
By implicit CTORs you mean the compiler-synthesized ones ? Which clazy check
would find anything interesting in there ?

-- 
You are receiving this mail because:
You are watching all bug changes.