| commit | 5c032cef2fd17d559b39edd3dae6e0c77a21ba62 | [log] [tgz] |
|---|---|---|
| author | Oliver Stannard <oliver.stannard@arm.com> | Tue Mar 06 14:02:14 2018 +0000 |
| committer | Oliver Stannard <oliver.stannard@arm.com> | Tue Mar 06 14:02:14 2018 +0000 |
| tree | 8f3607cde708ac1f7096aceb0fe91c0c8d3eec0f | |
| parent | 517dc51c488739e45b9a6ad67c31f85778f43459 [diff] |
[Asm] Refactor debug printing of AsmToken * Move printing from llvm-mc to the AsmToken class, so that it can be used elsewhere. * Add 5 cases which were missed: BigNum, Comment, HashDirective, Space and BackSlash, and remove the default case so that -Wswitch will catch this error in future. This is almost NFC, except for the fact that llvm-mc can now print those 5 tokens in -as-lex mode. Differential revision: https://reviews.llvm.org/D43936 llvm-svn: 326794