re PR c++/19476 (Missed null checking elimination with new)
[official-gcc.git] / libsanitizer / sanitizer_common / sanitizer_flags.h
blob1b9bf5bffdb29a674136f8b29c6184dddf45bb95
1 //===-- sanitizer_flags.h ---------------------------------------*- C++ -*-===//
2 //
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
5 //
6 //===----------------------------------------------------------------------===//
7 //
8 // This file is a part of ThreadSanitizer/AddressSanitizer runtime.
9 //
10 //===----------------------------------------------------------------------===//
12 #ifndef SANITIZER_FLAGS_H
13 #define SANITIZER_FLAGS_H
15 #include "sanitizer_internal_defs.h"
17 namespace __sanitizer {
19 void ParseFlag(const char *env, bool *flag, const char *name);
20 void ParseFlag(const char *env, int *flag, const char *name);
21 void ParseFlag(const char *env, const char **flag, const char *name);
23 } // namespace __sanitizer
25 #endif // SANITIZER_FLAGS_H