Re:“C is how the computer works” is a dangerous mindset for ...
by saagarjha on Tuesday March 31, 2020 @11:29PM
(#22745362)
Hmm, that's a bit disappointing…might I suggest trying out a LibClang-based IDE, if CLion isn't using it already? It can do wonders even to "stupid" applications. For example, my Sublime Text (by itself, with only basic knowledge of C++ keywords and such) with clangd tells me that std::make_shared comes from this code in <memory>:
[ Parent
| on HN ]
Re:“C is how the computer works” is a dangerous mindset for ...
by twic on Wednesday April 01, 2020 @08:08AM
(#22747822)
Oh no, what i mean is that it can't help me find the constructor of the thing i'm creating. Resolving a make_shared call to the implementation of make_shared is completely useless; the only thing you ever want to do is find the constructor it's forwarding to.