summaryrefslogtreecommitdiff
path: root/source/diagnostic.h
diff options
context:
space:
mode:
authorDavid Neto <dneto@google.com>2015-10-27 16:27:05 -0400
committerDavid Neto <dneto@google.com>2015-11-02 13:52:15 -0500
commit9f79d789ec321a6135618a3cf0945af0381a2075 (patch)
treef319b3843399e70efc7a92e3c4c343e782d201f0 /source/diagnostic.h
parentdb901b622ef3c68261aac61da4ad2a68325a6150 (diff)
Inclusion guards follow Google C++ style
Follow the scheme in http://google-styleguide.googlecode.com/svn/trunk/cppguide.html#The__define_Guard except: - 'include/' is dropped from the guard token - 'source/' is dropped from the guard token
Diffstat (limited to 'source/diagnostic.h')
-rw-r--r--source/diagnostic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/diagnostic.h b/source/diagnostic.h
index d6c77fef..07bfde65 100644
--- a/source/diagnostic.h
+++ b/source/diagnostic.h
@@ -24,8 +24,8 @@
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
// MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
-#ifndef _LIBSPIRV_UTIL_DIAGNOSTIC_H_
-#define _LIBSPIRV_UTIL_DIAGNOSTIC_H_
+#ifndef LIBSPIRV_DIAGNOSTIC_H_
+#define LIBSPIRV_DIAGNOSTIC_H_
#include <libspirv/libspirv.h>
@@ -99,4 +99,4 @@ class DiagnosticStream {
diagnostic_helper helper(position, pDiagnostic); \
helper.stream
-#endif
+#endif // LIBSPIRV_DIAGNOSTIC_H_