[flang-commits] [flang] d4b4ded - [Flang][Parser] Add missing #include "flang/Common/idioms.h" (#77484)

via flang-commits flang-commits at lists.llvm.org
Wed Jan 10 08:18:49 PST 2024


Author: Krzysztof Parzyszek
Date: 2024-01-10T10:18:44-06:00
New Revision: d4b4ded1867768ecb2c857ae9c2593764d7f3e41

URL: https://github.com/llvm/llvm-project/commit/d4b4ded1867768ecb2c857ae9c2593764d7f3e41
DIFF: https://github.com/llvm/llvm-project/commit/d4b4ded1867768ecb2c857ae9c2593764d7f3e41.diff

LOG: [Flang][Parser] Add missing #include "flang/Common/idioms.h" (#77484)

The file format-specification.h uses definitions from Fortran::common,
but doesn't include any headers that provide them.

Added: 
    

Modified: 
    flang/include/flang/Parser/format-specification.h

Removed: 
    


################################################################################
diff  --git a/flang/include/flang/Parser/format-specification.h b/flang/include/flang/Parser/format-specification.h
index a34e68af2832f3..28c8affd7bde02 100644
--- a/flang/include/flang/Parser/format-specification.h
+++ b/flang/include/flang/Parser/format-specification.h
@@ -18,6 +18,7 @@
 // dependences on other parts of the compiler's source code.
 // TODO: support Q formatting extension?
 
+#include "flang/Common/idioms.h"
 #include <cinttypes>
 #include <list>
 #include <optional>


        


More information about the flang-commits mailing list