Skip to content
Commit 4202c345 authored by Eli Friedman's avatar Eli Friedman
Browse files

Fix for PR7911 and PR7921: make isIntegralOrEnumerationType return false

for incomplete enum types.  An incomplete enum can't really be treated as
an "integral or enumeration" type, and the incorrect treatment leads to
bad behavior for many callers.

This makes isIntegralOrEnumerationType equivalent to isIntegerType; I think
we should globally replace the latter with the former; thoughts?

llvm-svn: 111512
parent fc83c607
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment