auto storage, but this routine would incorrectly return false.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41162
91177308-0d34-0410-b5e6-
96231b3b80d8
// implicitly "auto", but are represented internally with a storage
// class of None.
bool hasAutoStorage() {
- return (SClass == Auto || (SClass == None && getKind() == BlockVariable));
+ return (SClass == Auto || (SClass == None && getKind() != FileVariable));
}
// hasStaticStorage - Returns true if either the implicit or