http://llvm.org/bugs/show_bug.cgi?id=3558
Summary: ASTContext::getIntWidth, getTypeInfo, etc should be
const
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Keywords: code-cleanup
Severity: normal
Priority: P2
Component: AST
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
There are several accessors that are "logically" const but not marked as such.
This causes const_casts in other logically const methods like
getLegacyIntegralTypeEncoding. We should just mark the data they use as
mutable or avoid calling getCanonicalType in it.
-Chris
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs