summaryrefslogtreecommitdiff
path: root/flang/examples
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2021-09-01 16:00:53 -0700
committerpeter klausler <pklausler@nvidia.com>2021-09-03 11:08:34 -0700
commit830c0b9023cd0cf91955900e0d96283e7a8c3711 (patch)
tree681d6b6cc06973f51ac57b1da3873799b1bb5337 /flang/examples
parent343a72a24d4ea36bae20f33565cad7536cfa5c74 (diff)
downloadllvm-830c0b9023cd0cf91955900e0d96283e7a8c3711.tar.gz
[flang] Move runtime API headers to flang/include/flang/Runtime
Move the closure of the subset of flang/runtime/*.h header files that are referenced by source files outside flang/runtime (apart from unit tests) into a new directory (flang/include/flang/Runtime) so that relative include paths into ../runtime need not be used. flang/runtime/pgmath.h.inc is moved to flang/include/flang/Evaluate; it's not used by the runtime. Differential Revision: https://reviews.llvm.org/D109107
Diffstat (limited to 'flang/examples')
-rw-r--r--flang/examples/external-hello.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/flang/examples/external-hello.cpp b/flang/examples/external-hello.cpp
index 7c300d702cae..f06126d67ca3 100644
--- a/flang/examples/external-hello.cpp
+++ b/flang/examples/external-hello.cpp
@@ -1,6 +1,6 @@
-#include "../runtime/io-api.h"
-#include "../runtime/main.h"
-#include "../runtime/stop.h"
+#include "flang/Runtime/io-api.h"
+#include "flang/Runtime/main.h"
+#include "flang/Runtime/stop.h"
#include <cstring>
#include <limits>