Fix casing of parent classes and interfaces
commit4d724cdff594141512c357da5f7ee5369d0aa0da
authoraravind <aravind.menon@fb.com>
Tue, 6 Sep 2011 21:41:40 +0000 (6 14:41 -0700)
committermacvicar <macvicar@fb.com>
Fri, 23 Sep 2011 22:00:10 +0000 (23 15:00 -0700)
tree1cb03f7fffae2a2a9d0aaebf92de287493a0aac7
parentf55b73a3cd42891cb9c52a95a86f0b0dd9f87b3d
Fix casing of parent classes and interfaces

Summary:
Class names are case insensitive in PHP.

Currently, class and interface names are saved case-insensitive in HPHP
trunk. This revision changes it so that the original case-sensitive
parent and interface classes are retained, and the various hash lookups
for classes use case-insensitive lookup for ClassScope.

Reviewers: mwilliams, andrewparoski, je, kma, oyamauchi

Test Plan: make fast_tests, slow_tests, flib tests. Compile www and
check that it works.

Revert: OK

Differential Revision: 319941
src/compiler/analysis/analysis_result.cpp
src/compiler/analysis/class_scope.cpp
src/compiler/analysis/class_scope.h
src/compiler/expression/expression_list.cpp
src/compiler/expression/expression_list.h
src/compiler/expression/scalar_expression.h
src/compiler/hphp.h
src/compiler/statement/class_statement.cpp
src/util/base.h