diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-08-14 02:51:43 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-08-14 02:51:43 +0000 |
commit | bb67af44e18d79a21a26830bfe86d5d8eee06931 (patch) | |
tree | 5e498de374b3b456144ebd81f0cad2914d5b70fe /clang/lib/Serialization/ASTReaderDecl.cpp | |
parent | caf1c6e3dd226f62e622fedc106d38389c25d3c8 (diff) | |
download | bcm5719-llvm-bb67af44e18d79a21a26830bfe86d5d8eee06931.tar.gz bcm5719-llvm-bb67af44e18d79a21a26830bfe86d5d8eee06931.zip |
MC: AsmLexer: handle multi-character CommentStrings correctly
As X86MCAsmInfoDarwin uses '##' as CommentString although a single '#' starts a
comment a workaround for this special case is added.
Fixes divisions in constant expressions for the AArch64 assembler and other
targets which use '//' as CommentString.
Patch by Janne Grunau!
llvm-svn: 215615
Diffstat (limited to 'clang/lib/Serialization/ASTReaderDecl.cpp')
0 files changed, 0 insertions, 0 deletions