[analyzer] Change -analyze-function to accept qualified names.
authorArtem Dergachev <artem.dergachev@gmail.com>
Mon, 8 Aug 2016 16:01:02 +0000 (16:01 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Mon, 8 Aug 2016 16:01:02 +0000 (16:01 +0000)
commit6a76a1639f6ac3d1b1f9c661736f2cb91ce81825
treed6d2641f0f7ab6bfb35f04aef5579240ee13599a
parent0aa29532b7a439f047c1573548b6458d00a2df54
[analyzer] Change -analyze-function to accept qualified names.

Both -analyze-function and -analyzer-display-progress now share the same
convention for naming functions, which allows discriminating between
methods with the same name in different classes, C++ overloads, and also
presents Objective-C instance and class methods in the convenient notation.

This also allows looking up the name for the particular function you're trying
to restrict analysis to in the -analyzer-display-progress output,
in case it was not instantly obvious.

Differential Revision: https://reviews.llvm.org/D22856

llvm-svn: 278018
clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
clang/test/Analysis/analyzeOneFunction.m
clang/test/Analysis/analyze_display_progress.cpp [deleted file]
clang/test/Analysis/analyzer-display-progress.cpp [new file with mode: 0644]
clang/test/Analysis/analyzer-display-progress.m [new file with mode: 0644]