This revision was automatically updated to reflect the committed changes.
Closed by commit rL352503: [Tooling] Handle #pragma once header guard in
include insertion. (authored by ioeric, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
ht
ioeric updated this revision to Diff 184076.
ioeric marked an inline comment as done.
ioeric added a comment.
- fix typo
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57223/new/
https://reviews.llvm.org/D57223
Files:
lib/Tooling/Inclusions/HeaderIncludes.cpp
ilya-biryukov accepted this revision.
ilya-biryukov added a comment.
This revision is now accepted and ready to land.
LGTM
Comment at: lib/Tooling/Inclusions/HeaderIncludes.cpp:77
+// before/after header guards (e.g. #ifndef/#define pair, #pragma once). If no
+// header guard p
ioeric created this revision.
ioeric added a reviewer: ilya-biryukov.
Herald added a subscriber: cfe-commits.
Repository:
rC Clang
https://reviews.llvm.org/D57223
Files:
lib/Tooling/Inclusions/HeaderIncludes.cpp
unittests/Tooling/HeaderIncludesTest.cpp
Index: unittests/Tooling/HeaderInclu