]> granicus.if.org Git - clang/commit
Prevent crashes from hasCanonicalType matcher
authorEdwin Vane <edwin.vane@intel.com>
Tue, 7 May 2013 15:53:23 +0000 (15:53 +0000)
committerEdwin Vane <edwin.vane@intel.com>
Tue, 7 May 2013 15:53:23 +0000 (15:53 +0000)
commit54eeac9cb538e4fc4eecd81f2eda8f6fa727ca76
tree292ba53036f5969a3938fb024651db83682b6b83
parentd71ec16fffd10879bf74e531d9f7fb4c5ac4eaf8
Prevent crashes from hasCanonicalType matcher

Adding an QualType::isNull() check.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181329 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/ASTMatchers/ASTMatchers.h