summaryrefslogtreecommitdiff
path: root/clang/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp
AgeCommit message (Collapse)Author
2025-06-15[TableGen] Use range-based for loops (NFC) (#144250)Kazu Hirata
2024-11-17[NFC][Clang][TableGen] Fix file header comments (#116491)Rahul Joshi
2024-10-28[Clang][TableGen] Use StringRef::str() instead of std::string() cast (#113645)Rahul Joshi
Use `StringRef::str()` instead of std::string(StringRef) to cast from StringRef to std::string.
2024-09-11[clang][TableGen] Change HTML Emitter to use const RecordKeeper (#108201)Rahul Joshi
Change HTMLNamedCharacterReferenceEmitter to use const RecordKeeper. This is a part of effort to have better const correctness in TableGen backends: https://discourse.llvm.org/t/psa-planned-changes-to-tablegen-getallderiveddefinitions-api-potential-downstream-breakages/81089
2024-01-20[clang] Use SmallString::operator std::string (NFC)Kazu Hirata
2023-09-26[llvm][tblgen] Add `Source Filename` for `emitSourceFileHeader` (#65744)Shao-Ce SUN
I think this is very helpful for reading generated `.inc` files.
2023-09-26ReformatNAKAMURA Takumi
2020-01-29Fix one round of implicit conversions found by g++5.Benjamin Kramer
2020-01-28Make llvm::StringRef to std::string conversions explicit.Benjamin Kramer
This is how it should've been and brings it more in line with std::string_view. There should be no functional change here. This is mostly mechanical from a custom clang-tidy check, with a lot of manual fixups. It uncovers a lot of minor inefficiencies. This doesn't actually modify StringRef yet, I'll do that in a follow-up.
2019-10-01Use scope qualifiers in Clang's tblgen backends to get usefulJohn McCall
redeclaration checking. NFC. llvm-svn: 373406
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth
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
2018-08-23Fix typoStephen Kelly
llvm-svn: 340586
2018-05-09Remove \brief commands from doxygen comments.Adrian Prantl
This is similar to the LLVM change https://reviews.llvm.org/D46290. We've been running doxygen with the autobrief option for a couple of years now. This makes the \brief markers into our comments redundant. Since they are a visual distraction and we don't want to encourage more \brief markers in new code either, this patch removes them all. Patch produced by for i in $(git grep -l '\@brief'); do perl -pi -e 's/\@brief //g' $i & done for i in $(git grep -l '\\brief'); do perl -pi -e 's/\\brief //g' $i & done Differential Revision: https://reviews.llvm.org/D46320 llvm-svn: 331834
2013-01-30TableGen backends: use emitSourceFileHeader() to emit the warning aboutDmitri Gribenko
file contents being autogenerated llvm-svn: 173979
2013-01-30Comment parsing: resolve more named character referencesDmitri Gribenko
This reimplements r173850 with a better approach: (1) use a TableGen-generated matcher instead of doing a linear search; (2) avoid allocations for new strings by converting code points to string iterals with TableGen. llvm-svn: 173931