aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestJava.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2015-01-04 04:53:10 +0000
committerNico Weber <nicolasweber@gmx.de>2015-01-04 04:53:10 +0000
commit3632e034ba9dbe8f1fb41fb84c7b6588c2ea5e4f (patch)
tree5fccdc3568717cb9ce7c9cec4b29bd83fd2cb1f9 /clang/unittests/Format/FormatTestJava.cpp
parent12b12e800b04404c3763ebcef2168c429921f04e (diff)
downloadllvm-3632e034ba9dbe8f1fb41fb84c7b6588c2ea5e4f.zip
llvm-3632e034ba9dbe8f1fb41fb84c7b6588c2ea5e4f.tar.gz
llvm-3632e034ba9dbe8f1fb41fb84c7b6588c2ea5e4f.tar.bz2
Crash less enthusiasticially on _Atomic or __restrict__ on invalid types.
Many places in Sema cannot handle isNull() types. This is fine, because in most places the type building code recovers by falling back to IntTy. In GetFullTypeForDeclarator(), this is done at the end of the getNumTypeObjects() loop body. This function calls BuildQualifiedType() before this fallback is done though, so it explicitly needs to check for isNull() types. llvm-svn: 225124
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions