Add -frtti and -fexceptions to tests that assume these are on.
authorFilipe Cabecinhas <me@filcab.net>
Mon, 2 Mar 2015 18:49:37 +0000 (18:49 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Mon, 2 Mar 2015 18:49:37 +0000 (18:49 +0000)
commit5c5c00b7da38d852b727e42f3e83d4a3d94869a0
treeed190128f6690b0a980439aa8da8aac03644f6fc
parent3cb611b59efcc4a7186a7b2a7279589618bbb67e
Add -frtti and -fexceptions to tests that assume these are on.

Summary:
We now have targets that don't enable rtti/exceptions by default, and the
ASTMatchers tests are assuming that these features are on (e.g: They use
dynamic_cast or try).

Reviewers: klimek, thakis, djasper

Subscribers: klimek, cfe-commits

Differential Revision: http://reviews.llvm.org/D7892

llvm-svn: 230984
clang/unittests/ASTMatchers/ASTMatchersTest.h