Last active
May 11, 2020 03:07
-
-
Save FederAndInk/8000d182498f5e5a48e648b3d40fa09f to your computer and use it in GitHub Desktop.
Exemple for clang index (inherited ctor with using)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct S | |
{ | |
S(int i) {} | |
}; | |
struct SD : S | |
{ | |
using S::S; | |
}; | |
int main(int argc, char* argv[]) | |
{ | |
// call and ctor ref indexed by IndexDataConsumer | |
S s{1}; | |
// but here, nothing | |
SD sd{1}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment