From 3f2b0da22f8a78b46e9ed72b50cc1b9126211832 Mon Sep 17 00:00:00 2001
From: Anh Nguyen-Tuong <zenpoems@gmail.com>
Date: Tue, 17 Sep 2019 14:51:24 -0400
Subject: [PATCH] Update with new headers

---
 include/ehp.hpp           |  9 +++++++--
 src/SConscript            | 28 ++++++++++++++++++----------
 src/SConstruct            | 27 +++++++++++++++++----------
 src/ehp.cpp               | 10 ++++++++--
 src/ehp_dwarf2.hpp        |  9 +++++++--
 src/ehp_priv.hpp          |  9 ++++++++-
 src/scoop_replacement.hpp | 10 ++++++++--
 src/throw_assert.h        | 20 ++++++++++++++++++++
 8 files changed, 93 insertions(+), 29 deletions(-)

diff --git a/include/ehp.hpp b/include/ehp.hpp
index d8d8d38..d0fcc33 100644
--- a/include/ehp.hpp
+++ b/include/ehp.hpp
@@ -1,5 +1,9 @@
+// @HEADER_COMPONENT libehp
+// @HEADER_LANG C++
+// @HEADER_BEGIN
+
 /*
-   Copyright 2017-2018 University of Virginia
+   Copyright 2017-2019 University of Virginia
 
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
@@ -12,9 +16,10 @@
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-
 */
 
+// @HEADER_END
+
 #ifndef ehp_hpp
 #define ehp_hpp
 
diff --git a/src/SConscript b/src/SConscript
index 189ce76..0f47fa0 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -1,16 +1,24 @@
-#   Copyright 2017-2018 University of Virginia
+# @HEADER_COMPONENT libehp
+# @HEADER_LANG python
+# @HEADER_BEGIN
+
+#
+#  Copyright 2017-2019 University of Virginia
 #
-#   Licensed under the Apache License, Version 2.0 (the "License");
-#   you may not use this file except in compliance with the License.
-#   You may obtain a copy of the License at
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
 #
-#       http://www.apache.org/licenses/LICENSE-2.0
+#      http://www.apache.org/licenses/LICENSE-2.0
 #
-#   Unless required by applicable law or agreed to in writing, software
-#   distributed under the License is distributed on an "AS IS" BASIS,
-#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#   See the License for the specific language governing permissions and
-#   limitations under the License.
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+#
+
+# @HEADER_END
 
 import os
 
diff --git a/src/SConstruct b/src/SConstruct
index 6cf1c07..55a0597 100644
--- a/src/SConstruct
+++ b/src/SConstruct
@@ -1,17 +1,24 @@
+# @HEADER_COMPONENT libehp
+# @HEADER_LANG python
+# @HEADER_BEGIN
 
-#   Copyright 2017-2018 University of Virginia
 #
-#   Licensed under the Apache License, Version 2.0 (the "License");
-#   you may not use this file except in compliance with the License.
-#   You may obtain a copy of the License at
+#  Copyright 2017-2019 University of Virginia
 #
-#       http://www.apache.org/licenses/LICENSE-2.0
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
 #
-#   Unless required by applicable law or agreed to in writing, software
-#   distributed under the License is distributed on an "AS IS" BASIS,
-#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#   See the License for the specific language governing permissions and
-#   limitations under the License.
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+#
+
+# @HEADER_END
 
 
 env=Environment()
diff --git a/src/ehp.cpp b/src/ehp.cpp
index e9f085a..dd1001c 100644
--- a/src/ehp.cpp
+++ b/src/ehp.cpp
@@ -1,5 +1,9 @@
+// @HEADER_COMPONENT libehp
+// @HEADER_LANG C++
+// @HEADER_BEGIN
+
 /*
-   Copyright 2017-2018 University of Virginia
+   Copyright 2017-2019 University of Virginia
 
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
@@ -12,8 +16,10 @@
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-
 */
+
+// @HEADER_END
+
 #include <iostream>
 #include <iomanip>
 #include <fstream>
diff --git a/src/ehp_dwarf2.hpp b/src/ehp_dwarf2.hpp
index 2e07329..383a0f7 100644
--- a/src/ehp_dwarf2.hpp
+++ b/src/ehp_dwarf2.hpp
@@ -1,5 +1,9 @@
+// @HEADER_COMPONENT libehp
+// @HEADER_LANG C++
+// @HEADER_BEGIN
+
 /*
-   Copyright 2017-2018 University of Virginia
+   Copyright 2017-2019 University of Virginia
 
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
@@ -12,9 +16,10 @@
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-
 */
 
+// @HEADER_END
+
 #ifndef _DWARF2_H
 #define _DWARF2_H	1
 
diff --git a/src/ehp_priv.hpp b/src/ehp_priv.hpp
index 7f52e8c..f9e5cea 100644
--- a/src/ehp_priv.hpp
+++ b/src/ehp_priv.hpp
@@ -1,5 +1,9 @@
+// @HEADER_COMPONENT libehp
+// @HEADER_LANG C++
+// @HEADER_BEGIN
+
 /*
-   Copyright 2017-2018 University of Virginia
+   Copyright 2017-2019 University of Virginia
 
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
@@ -13,6 +17,9 @@
    See the License for the specific language governing permissions and
    limitations under the License.
 */
+
+// @HEADER_END
+
 #ifndef ehp_priv_hpp
 #define ehp_priv_hpp
 
diff --git a/src/scoop_replacement.hpp b/src/scoop_replacement.hpp
index daa7c20..cafcd7a 100644
--- a/src/scoop_replacement.hpp
+++ b/src/scoop_replacement.hpp
@@ -1,5 +1,9 @@
+// @HEADER_COMPONENT libehp
+// @HEADER_LANG C++
+// @HEADER_BEGIN
+
 /*
-   Copyright 2017-2018 University of Virginia
+   Copyright 2017-2019 University of Virginia
 
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
@@ -12,8 +16,10 @@
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-
 */
+
+// @HEADER_END
+
 #ifndef scoop_replacement_hpp
 #define scoop_replacement_hpp
 
diff --git a/src/throw_assert.h b/src/throw_assert.h
index 1acdd51..ae2075a 100644
--- a/src/throw_assert.h
+++ b/src/throw_assert.h
@@ -1,4 +1,24 @@
+// @HEADER_COMPONENT libehp
+// @HEADER_LANG C++
+// @HEADER_BEGIN
 
+/*
+   Copyright 2017-2019 University of Virginia
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+*/
+
+// @HEADER_END
 
 #define use_throwing_assert
 
-- 
GitLab