Normal ctags commands to support C++ parsing:
$ ctags -R --c++-kinds=+cdefglmnpstuvx --fields=+iaS --extra=+q
This will generate the ctags database from the following file types under the current directory:
*.c++ *.cc *.cp *.cpp *.cxx *.h *.h++ *.hh *.hp *.hpp *.hxx *.C *.H
(From ctags --list-maps)
If another file type needs to be included for the parsing, for example you want to add *.inl file type to C++ language map, add the following line to ~/.ctags.
--langmap=c++:+.inl
To check:
$ ctags --list-maps | grep C++
C++ *.c++ *.cc *.cp *.cpp *.cxx *.h *.h++ *.hh *.hp *.hpp *.hxx *.C *.H *.inl
Run ctags again to regenerate the database with the support of *.inl files as well.
$ ctags -R --c++-kinds=+cdefglmnpstuvx --fields=+iaS --extra=+q