]> granicus.if.org Git - clang/commit
Fix isInSystemMacro in presence of macro and pasted token
authorSerge Guelton <sguelton@redhat.com>
Thu, 16 May 2019 12:40:00 +0000 (12:40 +0000)
committerSerge Guelton <sguelton@redhat.com>
Thu, 16 May 2019 12:40:00 +0000 (12:40 +0000)
commiteffb4994daa210879cc375c55141296e93b27534
treeffc1e6fb71556473a2da7a482c397504376334f0
parentc0478341937c33b16056e9ce28d6134afbd91693
Fix isInSystemMacro in presence of macro and pasted token

When a warning is raised from the expansion of a system macro that
involves pasted token, there was still situations were they were not
skipped, as showcased by this issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1472437

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360885 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/SourceManager.h
test/Misc/no-warn-in-system-macro.c