[PATCH] D108687: [flang] Add runtime interface for COMMAND_ARGUMENT_COUNT

Peter Klausler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 27 09:11:27 PDT 2021


klausler added inline comments.


================
Comment at: flang/runtime/command.h:9
+
+#ifndef FORTRAN_RUNTIME_COMMAND_H_
+#define FORTRAN_RUNTIME_COMMAND_H_
----------------
rovka wrote:
> That's weird, it's suggesting LLVM_FLANG_RUNTIME_COMMAND_H, but none of the other headers in the runtime have that kind of include guard (there are 3 FLANG_RUNTIME_*_H and plenty of FORTRAN_RUNTIME_*_H). The C++ style document isn't very specific on this either. What's the preference?
> 
> That's weird, it's suggesting LLVM_FLANG_RUNTIME_COMMAND_H, but none of the other headers in the runtime have that kind of include guard (there are 3 FLANG_RUNTIME_*_H and plenty of FORTRAN_RUNTIME_*_H). The C++ style document isn't very specific on this either. What's the preference?
> 

Our header guards correspond to namespaces, so FORTRAN_*_H.


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

https://reviews.llvm.org/D108687



More information about the llvm-commits mailing list