summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/modernize/RawStringLiteralCheck.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* Port getLocStart -> getBeginLocStephen Kelly2018-08-091-3/+3
| | | | | | | | | | Reviewers: javed.absar Subscribers: nemanjai, kbarton, ilya-biryukov, ioeric, jkorous, arphaman, jfb, cfe-commits Differential Revision: https://reviews.llvm.org/D50354 llvm-svn: 339400
* [clang-tidy][modernize-raw-string-literal] Don't replace upper ASCII with ↵Zinovy Nis2018-05-011-20/+28
| | | | | | | | | | raw literals It's useless and not safe to replace UTF-8 encoded with escaped ASCII to raw UTF-8 chars: "\xE2\x98\x83" ---> <snowman> So don't do it. llvm-svn: 331297
* [clang-tidy] Don't modernize-raw-string-literal if replacement is longer.Gabor Horvath2017-01-241-6/+15
| | | | | | | | | | Fixes PR30964. The old behavior can be achieved using a setting. Patch by: Andras Leitereg! Differential Revision: https://reviews.llvm.org/D28667 llvm-svn: 292938
* [clang-tools-extra] Format sources with clang-format. NFC.Mandeep Singh Grang2016-11-081-1/+1
| | | | | | | | | | | | | | | | Summary: Ran clang-format on all .c/.cpp/.h files in clang-tools-extra. Excluded the test, unittests, clang-reorder-fields, include-fixer, modularize and pptrace directories. Reviewers: klimek, alexfh Subscribers: nemanjai Tags: #clang-tools-extra Differential Revision: https://reviews.llvm.org/D26329 llvm-svn: 286221
* [clang-tidy] Cleaning up language options.Gabor Horvath2016-09-241-5/+5
| | | | | | Differential Revision: https://reviews.llvm.org/D24881 llvm-svn: 282319
* [Clang-tidy] Fix for crash in modernize-raw-string-literal checkAlexander Kornienko2016-04-211-1/+2
| | | | | | | | | | | | | | | | | | | | | Summary: Clang-tidy modernize-raw-string-literal check crashes on run-time assert while it is evaluating compiler predefined identifiers such as - __FUNCTION__ - __func__ - __PRETTY_FUNCTION__ Check is asserting because it cannot find opening quote for such string literal. It occurs only on debug build config. I think that it would be good to prune such cases by crossing off predefined expressions - there is no need to evaluate such matches. Reviewers: LegalizeAdulthood, alexfh Subscribers: cfe-commits Patch by Marek Jenda! Differential Revision: http://reviews.llvm.org/D19331 llvm-svn: 266992
* clang-tidy: Add check modernize-raw-string-literalRichard Thomson2016-03-271-0/+140
llvm-svn: 264539
OpenPOWER on IntegriCloud