The code base I'm working in is very large and I have a recurring problem where I see a term (class/variable/etc) being used in a cpp file, and want to know which header file contains the definition.
What's the quickest, easiest way to do this?
I've been using grep, but the size of the code base, combined with the large number of #includes in each cpp file, makes this inefficient.
I believe I can use ctags/vim, but I last used that circa 2000 and I'm curious to know what other static analysis solutions have cropped up since then.
Does IWYU address this scenario? I'm using clang as a compiler if that's at all relevant.