adapt to the recent changes in clang
commit31e1c8e146d449cc09b811618b6da30471bef215
authorTobias Grosser <tobias@grosser.es>
Thu, 6 Oct 2011 11:43:12 +0000 (6 12:43 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 13 Oct 2011 15:33:20 +0000 (13 17:33 +0200)
treee4767ba7172ecc154a0563b7a46f462b0e2a3a66
parent11c1c018f1e2c995dba2befebab70694425f3bbd
adapt to the recent changes in clang

Since "Diagnostic" has different meanings in older and newer clang,
we avoid it altogether so that we can substitute in the appropriate
class name depending on the clang version.

We also need an extra "clone" method for MyDiagnosticPrinter
that will simply remain unused when using older versions of clang.

Signed-off-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
configure.ac
pet.cc
scan.cc