• Simon Zünd's avatar
    [torque] Add DashifyString function for module names. · a0d4005c
    Simon Zünd authored
    Module names in torque are allowed to have underscores but not dashes.
    To stay consistent with C++ file naming conventions, the underscores
    in module names are replaced by dashes for file names.
    
    Example:
    
    module typed_array {} would now generate:
    builtins-typed-array-from-dsl-gen.(cc|h)
    
    instead of:
    builtins-typed_array-from-dsl-gen.(cc|h)
    
    R=danno@chromium.org
    
    Change-Id: Iff42d7b9b5f65c378ee30f9d884ab6a3a3cd42a7
    Reviewed-on: https://chromium-review.googlesource.com/1016460Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Commit-Queue: Daniel Clifford <danno@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#52686}
    a0d4005c
implementation-visitor.cc 48.2 KB