summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorAnton Yartsev <anton.yartsev@gmail.com>2014-01-23 14:12:48 +0000
committerAnton Yartsev <anton.yartsev@gmail.com>2014-01-23 14:12:48 +0000
commit7950014000af728b6dbd0c0be2668b926fe86c0b (patch)
tree62a67c8639d0515dc9a97c14a50bc23e31885032 /lib/CodeGen/CGExpr.cpp
parent5da286428f41e8257da7dc50dd15997fa7c95207 (diff)
downloadclang-7950014000af728b6dbd0c0be2668b926fe86c0b.tar.gz
clang-7950014000af728b6dbd0c0be2668b926fe86c0b.tar.bz2
clang-7950014000af728b6dbd0c0be2668b926fe86c0b.tar.xz
[analyzer] Strip trailing whitespace characters from input.
More universal way of removing trailing whitespace characters then 'chomp' does. Chomp "removes any trailing string that corresponds to the current value of $/" (quote from perldoc). In my case an input ended with '\r\r\n', chomp left '\r' at the end of input and the script ended up with an error "Use of uninitialized value in concatenation (.) or string" git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199892 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions