| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [clang-tidy] minor improvements in modernise-deprecated-headers check | Kirill Bobyrev | 2016-08-10 | 1 | -112/+112 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces a minor list of changes as proposed by Richard Smith in the mailing list. See original comments with an impact on the future check state below: [comments.begin > + {"complex.h", "ccomplex"}, It'd be better to convert this one to <complex>, or leave it alone. <ccomplex> is an unnecessary wart. (The contents of C++11's <complex.h> / <ccomplex> / <complex> (all of which are identical) aren't comparable to C99's <complex.h>, so if this was C++98 code using the C99 header, the code will be broken with or without this transformation.) > + {"iso646.h", "ciso646"}, Just delete #includes of this one. <ciso646> does nothing. > + {"stdalign.h", "cstdalign"}, > + {"stdbool.h", "cstdbool"}, We should just delete these two includes. These headers do nothing in C++. comments.end] Reviewers: alexfh, aaron.ballman Differential Revision: https://reviews.llvm.org/D17990 llvm-svn: 278254 | ||||
| * | Revert r261814, "check-clang-tools: Introduce the feature target-headers", ↵ | NAKAMURA Takumi | 2016-02-25 | 1 | -1/+0 |
| | | | | | | | corresponding to r261893. llvm-svn: 261897 | ||||
| * | [clang-tidy] Adding headers needed in modernize-deprecated-headers tests | Alexander Kornienko | 2016-02-25 | 1 | -1/+1 |
| | | | | | llvm-svn: 261893 | ||||
| * | check-clang-tools: Introduce the feature "target-headers". | NAKAMURA Takumi | 2016-02-25 | 1 | -0/+1 |
| | | | | | | | | For now, it just detects that host is non-Windows and target is msvc. FIXME: It should be probable for cross compilations. Detect whether target's headers would be available. llvm-svn: 261814 | ||||
| * | [clang-tidy] introduce modernize-deprecated-headers check | Alexander Kornienko | 2016-02-24 | 1 | -0/+163 |
| Summary: This patch introduces the modernize-deprecated-headers check, which is supposed to replace deprecated C library headers with the C++ STL-ones. For information see documentation; for exmaples see the test cases. Reviewers: Eugene.Zelenko, LegalizeAdulthood, alexfh Subscribers: cfe-commits Patch by Kirill Bobyrev! Differential Revision: http://reviews.llvm.org/D17484 llvm-svn: 261738 | |||||

