flymake-find-possible-master-files

flymake-find-possible-master-files is a compiled Lisp function in `flymake.el'.

(flymake-find-possible-master-files FILE-NAME MASTER-FILE-DIRS MASKS)

Find (by name and location) all possible master files.

Name is specified by FILE-NAME and location is specified by
MASTER-FILE-DIRS. Master files include .cpp and .c for .h.
Files are searched for starting from the .h directory and max
max-level parent dirs. File contents are not checked.