Should fix the build. Looks like GCC 4.9 is using different scoping rules for
range-based for loops.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@228424
91177308-0d34-0410-b5e6-
96231b3b80d8
Hash = 0;
}
- bool HandleTopLevelDecl(DeclGroupRef D) override {
- for (Decl *D : D) {
+ bool HandleTopLevelDecl(DeclGroupRef DG) override {
+ for (Decl *D : DG) {
// FIXME: Currently ObjC method declarations are incorrectly being
// reported as top-level declarations, even though their DeclContext
// is the containing ObjC @interface/@implementation. This is a