]> granicus.if.org Git - clang/commit
Print a note to the called macro when diagnosing err_embedded_directive
authorNico Weber <nicolasweber@gmx.de>
Thu, 14 Feb 2019 04:13:17 +0000 (04:13 +0000)
committerNico Weber <nicolasweber@gmx.de>
Thu, 14 Feb 2019 04:13:17 +0000 (04:13 +0000)
commit5773155aa1b1e219b140ecdb61f207581211edbf
tree609e1652b8d6beb16940da8dd9b615d9023ef060
parentc17fda9295b4e1e4a16cc5eb73b23cd668b29eba
Print a note to the called macro when diagnosing err_embedded_directive

Fixes PR40713, see there for the motivation for this.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@354009 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticLexKinds.td
include/clang/Lex/Preprocessor.h
lib/Lex/PPDirectives.cpp
lib/Lex/PPMacroExpansion.cpp
lib/Lex/Preprocessor.cpp
test/Preprocessor/macro_arg_directive.c