aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestJava.cpp
diff options
context:
space:
mode:
authorJames Y Knight <jyknight@google.com>2018-10-05 17:49:48 +0000
committerJames Y Knight <jyknight@google.com>2018-10-05 17:49:48 +0000
commitc7d3e609fbf05d1a1236f99efd1e2fd344554f4b (patch)
treeb680e18f7b0d4cebb19eb9164c38022269724a7e /clang/unittests/Format/FormatTestJava.cpp
parentf194033316256a590a2ebebdf1b336a0ee466e54 (diff)
downloadllvm-c7d3e609fbf05d1a1236f99efd1e2fd344554f4b.zip
llvm-c7d3e609fbf05d1a1236f99efd1e2fd344554f4b.tar.gz
llvm-c7d3e609fbf05d1a1236f99efd1e2fd344554f4b.tar.bz2
Emit diagnostic note when calling an invalid function declaration.
The comment said it was intentionally not emitting any diagnostic because the declaration itself was already diagnosed. However, everywhere else that wants to not emit a diagnostic without an extra note emits note_invalid_subexpr_in_const_expr instead, which gets suppressed later. This was the only place which did not emit a diagnostic note. Differential Revision: https://reviews.llvm.org/D52919 llvm-svn: 343867
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions