Skip to content
Snippets Groups Projects
Commit ec7c796d authored by David Malcolm's avatar David Malcolm
Browse files

analyzer: only look for named functions in root ns [PR107788]


gcc/analyzer/ChangeLog:
	PR analyzer/107788
	* known-function-manager.cc (known_function_manager::get_match):
	Don't look up fndecls by name when they're not in the root
	namespace.

gcc/testsuite/ChangeLog:
	PR analyzer/107788
	* g++.dg/analyzer/named-functions.C: New test.

Signed-off-by: default avatarDavid Malcolm <dmalcolm@redhat.com>
parent 64fb291c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment