clang
3.7.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
work
release_test
rc4
llvm.src
tools
clang
lib
StaticAnalyzer
Checkers
AllocationDiagnostics.h
Go to the documentation of this file.
1
//=--- AllocationDiagnostics.h - Config options for allocation diags *- C++ -*-//
2
//
3
// The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//===----------------------------------------------------------------------===//
9
//
10
// Declares the configuration functions for leaks/allocation diagnostics.
11
//
12
//===----------------------------------------------------------------------===//
13
14
#ifndef LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_ALLOCATIONDIAGNOSTICS_H
15
#define LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_ALLOCATIONDIAGNOSTICS_H
16
17
#include "
clang/StaticAnalyzer/Core/AnalyzerOptions.h
"
18
19
namespace
clang {
namespace
ento {
20
21
/// \brief Returns true if leak diagnostics should directly reference
22
/// the allocatin site (where possible).
23
///
24
/// The default is false.
25
///
26
bool
shouldIncludeAllocationSiteInLeakDiagnostics
(AnalyzerOptions &AOpts);
27
28
}}
29
30
#endif
31
AnalyzerOptions.h
clang::ento::shouldIncludeAllocationSiteInLeakDiagnostics
bool shouldIncludeAllocationSiteInLeakDiagnostics(AnalyzerOptions &AOpts)
Returns true if leak diagnostics should directly reference the allocatin site (where possible)...
Definition:
AllocationDiagnostics.cpp:19
Generated on Mon Aug 31 2015 10:45:06 for clang by
1.8.6