[PATCH] D150117: Use LLVM-style include guard in regex_impl.h

Hans Wennborg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 8 09:56:19 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
hans marked an inline comment as done.
Closed by commit rGb86c249691a7: Use LLVM-style include guard in regex_impl.h (authored by hans).

Changed prior to commit:
  https://reviews.llvm.org/D150117?vs=520355&id=520426#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150117/new/

https://reviews.llvm.org/D150117

Files:
  llvm/lib/Support/regex_impl.h


Index: llvm/lib/Support/regex_impl.h
===================================================================
--- llvm/lib/Support/regex_impl.h
+++ llvm/lib/Support/regex_impl.h
@@ -35,8 +35,8 @@
  *	@(#)regex.h	8.1 (Berkeley) 6/2/93
  */
 
-#ifndef _REGEX_H_
-#define	_REGEX_H_
+#ifndef LLVM_SUPPORT_REGEX_IMPL_H
+#define LLVM_SUPPORT_REGEX_IMPL_H
 
 #include <sys/types.h>
 typedef off_t llvm_regoff_t;
@@ -105,4 +105,4 @@
 }
 #endif
 
-#endif /* !_REGEX_H_ */
+#endif /* LLVM_SUPPORT_REGEX_IMPL_H */


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150117.520426.patch
Type: text/x-patch
Size: 498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230508/6a5d38f2/attachment.bin>


More information about the llvm-commits mailing list