[ASTMatchers] Add support for floatLiterals
Summary: Needed to support something like "floatLiteral(equals(1.0))". The parser for floating point numbers is kept simple, so instead of ".1" you have to use "0.1". Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D33135 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305021 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/ASTMatchers/Dynamic/Diagnostics.h 1 addition, 1 deletioninclude/clang/ASTMatchers/Dynamic/Diagnostics.h
- include/clang/ASTMatchers/Dynamic/Parser.h 2 additions, 1 deletioninclude/clang/ASTMatchers/Dynamic/Parser.h
- include/clang/ASTMatchers/Dynamic/VariantValue.h 10 additions, 0 deletionsinclude/clang/ASTMatchers/Dynamic/VariantValue.h
- lib/ASTMatchers/Dynamic/Diagnostics.cpp 2 additions, 2 deletionslib/ASTMatchers/Dynamic/Diagnostics.cpp
- lib/ASTMatchers/Dynamic/Marshallers.h 10 additions, 0 deletionslib/ASTMatchers/Dynamic/Marshallers.h
- lib/ASTMatchers/Dynamic/Parser.cpp 37 additions, 13 deletionslib/ASTMatchers/Dynamic/Parser.cpp
- lib/ASTMatchers/Dynamic/VariantValue.cpp 32 additions, 0 deletionslib/ASTMatchers/Dynamic/VariantValue.cpp
- unittests/ASTMatchers/Dynamic/ParserTest.cpp 17 additions, 2 deletionsunittests/ASTMatchers/Dynamic/ParserTest.cpp
- unittests/ASTMatchers/Dynamic/VariantValueTest.cpp 13 additions, 0 deletionsunittests/ASTMatchers/Dynamic/VariantValueTest.cpp
Loading
Please register or sign in to comment