[analyzer] Don't show "Entered 'foo'" if 'foo' is implicit.
authorJordan Rose <jordan_rose@apple.com>
Sat, 19 Jan 2013 19:52:57 +0000 (19:52 +0000)
committerJordan Rose <jordan_rose@apple.com>
Sat, 19 Jan 2013 19:52:57 +0000 (19:52 +0000)
commitd8876a745038ac4418595fa8b197c7a3645079ca
treeee2c2a529d84d3e1e3b99db6d3bb0323633d8532
parent2c705ca98dee05e4dd9a3360eb2ccca5ff8a8102
[analyzer] Don't show "Entered 'foo'" if 'foo' is implicit.

Before:
  Calling implicit default constructor for 'Foo'  (where Foo is constructed)
  Entered call from 'test'  (at "=default" or 'Foo' declaration)
  Calling default constructor for 'Bar'  (at "=default" or 'Foo' declaration)

After:
  Calling implicit default constructor for 'Foo'  (where Foo is constructed)
  Calling default constructor for 'Bar'  (at "=default" or 'Foo' declaration)

This only affects the plist diagnostics; this note is never shown in the
other diagnostics.

llvm-svn: 172915
clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp
clang/test/Analysis/inlining/path-notes.cpp