summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/MathExtras.cpp
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2015-05-06 23:00:45 +0000
committerAlex Lorenz <arphaman@gmail.com>2015-05-06 23:00:45 +0000
commitfe6f1865bcfbc63f3014fe2c5503b1fec16ed8cc (patch)
treefef6d391f907655a184a708e8d81fd63b5ce5a11 /llvm/lib/Support/MathExtras.cpp
parentcc151ccdcf5fb1b267b47759b1fd8bcf74ceb2cf (diff)
downloadbcm5719-llvm-fe6f1865bcfbc63f3014fe2c5503b1fec16ed8cc.tar.gz
bcm5719-llvm-fe6f1865bcfbc63f3014fe2c5503b1fec16ed8cc.zip
YAML: Extract the code that skips a comment into a separate method, NFC.
This commit extracts the code that skips over a YAML comment from the 'scanToNextToken' method into a separate 'skipComment' method. This refactoring is motivated by a patch that implements parsing of YAML block scalars (http://reviews.llvm.org/D9503), as the method that parses a block scalar reuses the 'skipComment' method. llvm-svn: 236663
Diffstat (limited to 'llvm/lib/Support/MathExtras.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud