aboutsummaryrefslogtreecommitdiff
path: root/lld/utils/linker-script-test/linker-script-test.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2015-02-03 09:45:52 +0000
committerDaniel Jasper <djasper@google.com>2015-02-03 09:45:52 +0000
commitd142381cd8eff4600948086992b320fc6b69f358 (patch)
tree98e7bbfbfdddf896ec420f281aef71a6a529abba /lld/utils/linker-script-test/linker-script-test.cpp
parenta57746b87102041d3220d87ec77da31f2f7da465 (diff)
downloadllvm-d142381cd8eff4600948086992b320fc6b69f358.zip
llvm-d142381cd8eff4600948086992b320fc6b69f358.tar.gz
llvm-d142381cd8eff4600948086992b320fc6b69f358.tar.bz2
Add some overloads so that floating point literals can be AST matched properly.
I am not entirely sure whether the implemented sematics are ideal. In particular, should floatLiteral(equals(0.5)) match "0.5f" and should floatLiteral(equals(0.5f)) match "0.5". With the overloads in this patch, the answer to both questions is yes, but I am happy to change that. llvm-svn: 227956
Diffstat (limited to 'lld/utils/linker-script-test/linker-script-test.cpp')
0 files changed, 0 insertions, 0 deletions