December 09, 2013 [dmd-internals] [D-Programming-Language/dmd] 6164bb: [Refactoring] Remove unnecessary isVarDeclaration(... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 6164bbd2cfa1fb55de910a456f0d71e95653deaf https://github.com/D-Programming-Language/dmd/commit/6164bbd2cfa1fb55de910a456f0d71e95653deaf Author: k-hara <k.hara.pg@gmail.com> Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M src/argtypes.c M src/cast.c M src/class.c M src/clone.c M src/constfold.c M src/ctfeexpr.c M src/declaration.c M src/e2ir.c M src/expression.c M src/func.c M src/interpret.c M src/mtype.c M src/struct.c M src/toctype.c Log Message: ----------- [Refactoring] Remove unnecessary isVarDeclaration() call `AggregateDeclaration::fields` is typed as an array of `VarDeclaration`. Therefore, assignment its elements to `Dsymbol *` + invocation of `isVarDeclaration` are merely redundant operations. Commit: fca23a5f159bbc69db80359228d5f0cf511e7fcb https://github.com/D-Programming-Language/dmd/commit/fca23a5f159bbc69db80359228d5f0cf511e7fcb Author: Hara Kenji <k.hara.pg+dev@gmail.com> Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M src/argtypes.c M src/cast.c M src/class.c M src/clone.c M src/constfold.c M src/ctfeexpr.c M src/declaration.c M src/e2ir.c M src/expression.c M src/func.c M src/interpret.c M src/mtype.c M src/struct.c M src/toctype.c Log Message: ----------- Merge pull request #2941 from 9rnsr/refactor_fields [Refactoring] Remove unnecessary isVarDeclaration() call Compare: https://github.com/D-Programming-Language/dmd/compare/30ff96df26f7...fca23a5f159b |
Copyright © 1999-2021 by the D Language Foundation