[compiler-rt] r279062 - Add header guards to asan_descriptions.h
Filipe Cabecinhas via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 18 06:22:00 PDT 2016
Author: filcab
Date: Thu Aug 18 08:22:00 2016
New Revision: 279062
URL: http://llvm.org/viewvc/llvm-project?rev=279062&view=rev
Log:
Add header guards to asan_descriptions.h
Modified:
compiler-rt/trunk/lib/asan/asan_descriptions.h
Modified: compiler-rt/trunk/lib/asan/asan_descriptions.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_descriptions.h?rev=279062&r1=279061&r2=279062&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_descriptions.h (original)
+++ compiler-rt/trunk/lib/asan/asan_descriptions.h Thu Aug 18 08:22:00 2016
@@ -12,6 +12,8 @@
// ASan-private header for asan_descriptions.cc.
// TODO(filcab): Most struct definitions should move to the interface headers.
//===----------------------------------------------------------------------===//
+#ifndef ASAN_DESCRIPTIONS_H
+#define ASAN_DESCRIPTIONS_H
#include "asan_allocator.h"
#include "asan_thread.h"
@@ -145,3 +147,5 @@ bool GetGlobalAddressInformation(uptr ad
bool DescribeAddressIfGlobal(uptr addr, uptr access_size, const char *bug_type);
} // namespace __asan
+
+#endif // ASAN_DESCRIPTIONS_H
More information about the llvm-commits
mailing list