1*e5dd7070Spatrick //===- CheckerDocumentation.cpp - Documentation checker ---------*- C++ -*-===//
2*e5dd7070Spatrick //
3*e5dd7070Spatrick // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*e5dd7070Spatrick // See https://llvm.org/LICENSE.txt for license information.
5*e5dd7070Spatrick // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*e5dd7070Spatrick //
7*e5dd7070Spatrick //===----------------------------------------------------------------------===//
8*e5dd7070Spatrick //
9*e5dd7070Spatrick // This checker lists all the checker callbacks and provides documentation for
10*e5dd7070Spatrick // checker writers.
11*e5dd7070Spatrick //
12*e5dd7070Spatrick //===----------------------------------------------------------------------===//
13*e5dd7070Spatrick
14*e5dd7070Spatrick #include "clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.h"
15*e5dd7070Spatrick #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
16*e5dd7070Spatrick #include "clang/StaticAnalyzer/Core/Checker.h"
17*e5dd7070Spatrick #include "clang/StaticAnalyzer/Core/CheckerManager.h"
18*e5dd7070Spatrick #include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
19*e5dd7070Spatrick #include "clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h"
20*e5dd7070Spatrick
21*e5dd7070Spatrick using namespace clang;
22*e5dd7070Spatrick using namespace ento;
23*e5dd7070Spatrick
24*e5dd7070Spatrick // All checkers should be placed into anonymous namespace.
25*e5dd7070Spatrick // We place the CheckerDocumentation inside ento namespace to make the
26*e5dd7070Spatrick // it visible in doxygen.
27*e5dd7070Spatrick namespace clang {
28*e5dd7070Spatrick namespace ento {
29*e5dd7070Spatrick
30*e5dd7070Spatrick /// This checker documents the callback functions checkers can use to implement
31*e5dd7070Spatrick /// the custom handling of the specific events during path exploration as well
32*e5dd7070Spatrick /// as reporting bugs. Most of the callbacks are targeted at path-sensitive
33*e5dd7070Spatrick /// checking.
34*e5dd7070Spatrick ///
35*e5dd7070Spatrick /// \sa CheckerContext
36*e5dd7070Spatrick class CheckerDocumentation : public Checker< check::PreStmt<ReturnStmt>,
37*e5dd7070Spatrick check::PostStmt<DeclStmt>,
38*e5dd7070Spatrick check::PreObjCMessage,
39*e5dd7070Spatrick check::PostObjCMessage,
40*e5dd7070Spatrick check::ObjCMessageNil,
41*e5dd7070Spatrick check::PreCall,
42*e5dd7070Spatrick check::PostCall,
43*e5dd7070Spatrick check::BranchCondition,
44*e5dd7070Spatrick check::NewAllocator,
45*e5dd7070Spatrick check::Location,
46*e5dd7070Spatrick check::Bind,
47*e5dd7070Spatrick check::DeadSymbols,
48*e5dd7070Spatrick check::BeginFunction,
49*e5dd7070Spatrick check::EndFunction,
50*e5dd7070Spatrick check::EndAnalysis,
51*e5dd7070Spatrick check::EndOfTranslationUnit,
52*e5dd7070Spatrick eval::Call,
53*e5dd7070Spatrick eval::Assume,
54*e5dd7070Spatrick check::LiveSymbols,
55*e5dd7070Spatrick check::RegionChanges,
56*e5dd7070Spatrick check::PointerEscape,
57*e5dd7070Spatrick check::ConstPointerEscape,
58*e5dd7070Spatrick check::Event<ImplicitNullDerefEvent>,
59*e5dd7070Spatrick check::ASTDecl<FunctionDecl> > {
60*e5dd7070Spatrick public:
61*e5dd7070Spatrick /// Pre-visit the Statement.
62*e5dd7070Spatrick ///
63*e5dd7070Spatrick /// The method will be called before the analyzer core processes the
64*e5dd7070Spatrick /// statement. The notification is performed for every explored CFGElement,
65*e5dd7070Spatrick /// which does not include the control flow statements such as IfStmt. The
66*e5dd7070Spatrick /// callback can be specialized to be called with any subclass of Stmt.
67*e5dd7070Spatrick ///
68*e5dd7070Spatrick /// See checkBranchCondition() callback for performing custom processing of
69*e5dd7070Spatrick /// the branching statements.
70*e5dd7070Spatrick ///
71*e5dd7070Spatrick /// check::PreStmt<ReturnStmt>
checkPreStmt(const ReturnStmt * DS,CheckerContext & C) const72*e5dd7070Spatrick void checkPreStmt(const ReturnStmt *DS, CheckerContext &C) const {}
73*e5dd7070Spatrick
74*e5dd7070Spatrick /// Post-visit the Statement.
75*e5dd7070Spatrick ///
76*e5dd7070Spatrick /// The method will be called after the analyzer core processes the
77*e5dd7070Spatrick /// statement. The notification is performed for every explored CFGElement,
78*e5dd7070Spatrick /// which does not include the control flow statements such as IfStmt. The
79*e5dd7070Spatrick /// callback can be specialized to be called with any subclass of Stmt.
80*e5dd7070Spatrick ///
81*e5dd7070Spatrick /// check::PostStmt<DeclStmt>
82*e5dd7070Spatrick void checkPostStmt(const DeclStmt *DS, CheckerContext &C) const;
83*e5dd7070Spatrick
84*e5dd7070Spatrick /// Pre-visit the Objective C message.
85*e5dd7070Spatrick ///
86*e5dd7070Spatrick /// This will be called before the analyzer core processes the method call.
87*e5dd7070Spatrick /// This is called for any action which produces an Objective-C message send,
88*e5dd7070Spatrick /// including explicit message syntax and property access.
89*e5dd7070Spatrick ///
90*e5dd7070Spatrick /// check::PreObjCMessage
checkPreObjCMessage(const ObjCMethodCall & M,CheckerContext & C) const91*e5dd7070Spatrick void checkPreObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const {}
92*e5dd7070Spatrick
93*e5dd7070Spatrick /// Post-visit the Objective C message.
94*e5dd7070Spatrick /// \sa checkPreObjCMessage()
95*e5dd7070Spatrick ///
96*e5dd7070Spatrick /// check::PostObjCMessage
checkPostObjCMessage(const ObjCMethodCall & M,CheckerContext & C) const97*e5dd7070Spatrick void checkPostObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const {}
98*e5dd7070Spatrick
99*e5dd7070Spatrick /// Visit an Objective-C message whose receiver is nil.
100*e5dd7070Spatrick ///
101*e5dd7070Spatrick /// This will be called when the analyzer core processes a method call whose
102*e5dd7070Spatrick /// receiver is definitely nil. In this case, check{Pre/Post}ObjCMessage and
103*e5dd7070Spatrick /// check{Pre/Post}Call will not be called.
104*e5dd7070Spatrick ///
105*e5dd7070Spatrick /// check::ObjCMessageNil
checkObjCMessageNil(const ObjCMethodCall & M,CheckerContext & C) const106*e5dd7070Spatrick void checkObjCMessageNil(const ObjCMethodCall &M, CheckerContext &C) const {}
107*e5dd7070Spatrick
108*e5dd7070Spatrick /// Pre-visit an abstract "call" event.
109*e5dd7070Spatrick ///
110*e5dd7070Spatrick /// This is used for checkers that want to check arguments or attributed
111*e5dd7070Spatrick /// behavior for functions and methods no matter how they are being invoked.
112*e5dd7070Spatrick ///
113*e5dd7070Spatrick /// Note that this includes ALL cross-body invocations, so if you want to
114*e5dd7070Spatrick /// limit your checks to, say, function calls, you should test for that at the
115*e5dd7070Spatrick /// beginning of your callback function.
116*e5dd7070Spatrick ///
117*e5dd7070Spatrick /// check::PreCall
checkPreCall(const CallEvent & Call,CheckerContext & C) const118*e5dd7070Spatrick void checkPreCall(const CallEvent &Call, CheckerContext &C) const {}
119*e5dd7070Spatrick
120*e5dd7070Spatrick /// Post-visit an abstract "call" event.
121*e5dd7070Spatrick /// \sa checkPreObjCMessage()
122*e5dd7070Spatrick ///
123*e5dd7070Spatrick /// check::PostCall
checkPostCall(const CallEvent & Call,CheckerContext & C) const124*e5dd7070Spatrick void checkPostCall(const CallEvent &Call, CheckerContext &C) const {}
125*e5dd7070Spatrick
126*e5dd7070Spatrick /// Pre-visit of the condition statement of a branch (such as IfStmt).
checkBranchCondition(const Stmt * Condition,CheckerContext & Ctx) const127*e5dd7070Spatrick void checkBranchCondition(const Stmt *Condition, CheckerContext &Ctx) const {}
128*e5dd7070Spatrick
129*e5dd7070Spatrick /// Post-visit the C++ operator new's allocation call.
130*e5dd7070Spatrick ///
131*e5dd7070Spatrick /// Execution of C++ operator new consists of the following phases: (1) call
132*e5dd7070Spatrick /// default or overridden operator new() to allocate memory (2) cast the
133*e5dd7070Spatrick /// return value of operator new() from void pointer type to class pointer
134*e5dd7070Spatrick /// type, (3) assuming that the value is non-null, call the object's
135*e5dd7070Spatrick /// constructor over this pointer, (4) declare that the value of the
136*e5dd7070Spatrick /// new-expression is this pointer. This callback is called between steps
137*e5dd7070Spatrick /// (2) and (3). Post-call for the allocator is called after step (1).
138*e5dd7070Spatrick /// Pre-statement for the new-expression is called on step (4) when the value
139*e5dd7070Spatrick /// of the expression is evaluated.
140*e5dd7070Spatrick /// \param NE The C++ new-expression that triggered the allocation.
141*e5dd7070Spatrick /// \param Target The allocated region, casted to the class type.
checkNewAllocator(const CXXNewExpr * NE,SVal Target,CheckerContext &) const142*e5dd7070Spatrick void checkNewAllocator(const CXXNewExpr *NE, SVal Target,
143*e5dd7070Spatrick CheckerContext &) const {}
144*e5dd7070Spatrick
145*e5dd7070Spatrick /// Called on a load from and a store to a location.
146*e5dd7070Spatrick ///
147*e5dd7070Spatrick /// The method will be called each time a location (pointer) value is
148*e5dd7070Spatrick /// accessed.
149*e5dd7070Spatrick /// \param Loc The value of the location (pointer).
150*e5dd7070Spatrick /// \param IsLoad The flag specifying if the location is a store or a load.
151*e5dd7070Spatrick /// \param S The load is performed while processing the statement.
152*e5dd7070Spatrick ///
153*e5dd7070Spatrick /// check::Location
checkLocation(SVal Loc,bool IsLoad,const Stmt * S,CheckerContext &) const154*e5dd7070Spatrick void checkLocation(SVal Loc, bool IsLoad, const Stmt *S,
155*e5dd7070Spatrick CheckerContext &) const {}
156*e5dd7070Spatrick
157*e5dd7070Spatrick /// Called on binding of a value to a location.
158*e5dd7070Spatrick ///
159*e5dd7070Spatrick /// \param Loc The value of the location (pointer).
160*e5dd7070Spatrick /// \param Val The value which will be stored at the location Loc.
161*e5dd7070Spatrick /// \param S The bind is performed while processing the statement S.
162*e5dd7070Spatrick ///
163*e5dd7070Spatrick /// check::Bind
checkBind(SVal Loc,SVal Val,const Stmt * S,CheckerContext &) const164*e5dd7070Spatrick void checkBind(SVal Loc, SVal Val, const Stmt *S, CheckerContext &) const {}
165*e5dd7070Spatrick
166*e5dd7070Spatrick /// Called whenever a symbol becomes dead.
167*e5dd7070Spatrick ///
168*e5dd7070Spatrick /// This callback should be used by the checkers to aggressively clean
169*e5dd7070Spatrick /// up/reduce the checker state, which is important for reducing the overall
170*e5dd7070Spatrick /// memory usage. Specifically, if a checker keeps symbol specific information
171*e5dd7070Spatrick /// in the state, it can and should be dropped after the symbol becomes dead.
172*e5dd7070Spatrick /// In addition, reporting a bug as soon as the checker becomes dead leads to
173*e5dd7070Spatrick /// more precise diagnostics. (For example, one should report that a malloced
174*e5dd7070Spatrick /// variable is not freed right after it goes out of scope.)
175*e5dd7070Spatrick ///
176*e5dd7070Spatrick /// \param SR The SymbolReaper object can be queried to determine which
177*e5dd7070Spatrick /// symbols are dead.
178*e5dd7070Spatrick ///
179*e5dd7070Spatrick /// check::DeadSymbols
checkDeadSymbols(SymbolReaper & SR,CheckerContext & C) const180*e5dd7070Spatrick void checkDeadSymbols(SymbolReaper &SR, CheckerContext &C) const {}
181*e5dd7070Spatrick
182*e5dd7070Spatrick
183*e5dd7070Spatrick /// Called when the analyzer core starts analyzing a function,
184*e5dd7070Spatrick /// regardless of whether it is analyzed at the top level or is inlined.
185*e5dd7070Spatrick ///
186*e5dd7070Spatrick /// check::BeginFunction
checkBeginFunction(CheckerContext & Ctx) const187*e5dd7070Spatrick void checkBeginFunction(CheckerContext &Ctx) const {}
188*e5dd7070Spatrick
189*e5dd7070Spatrick /// Called when the analyzer core reaches the end of a
190*e5dd7070Spatrick /// function being analyzed regardless of whether it is analyzed at the top
191*e5dd7070Spatrick /// level or is inlined.
192*e5dd7070Spatrick ///
193*e5dd7070Spatrick /// check::EndFunction
checkEndFunction(const ReturnStmt * RS,CheckerContext & Ctx) const194*e5dd7070Spatrick void checkEndFunction(const ReturnStmt *RS, CheckerContext &Ctx) const {}
195*e5dd7070Spatrick
196*e5dd7070Spatrick /// Called after all the paths in the ExplodedGraph reach end of path
197*e5dd7070Spatrick /// - the symbolic execution graph is fully explored.
198*e5dd7070Spatrick ///
199*e5dd7070Spatrick /// This callback should be used in cases when a checker needs to have a
200*e5dd7070Spatrick /// global view of the information generated on all paths. For example, to
201*e5dd7070Spatrick /// compare execution summary/result several paths.
202*e5dd7070Spatrick /// See IdempotentOperationChecker for a usage example.
203*e5dd7070Spatrick ///
204*e5dd7070Spatrick /// check::EndAnalysis
checkEndAnalysis(ExplodedGraph & G,BugReporter & BR,ExprEngine & Eng) const205*e5dd7070Spatrick void checkEndAnalysis(ExplodedGraph &G,
206*e5dd7070Spatrick BugReporter &BR,
207*e5dd7070Spatrick ExprEngine &Eng) const {}
208*e5dd7070Spatrick
209*e5dd7070Spatrick /// Called after analysis of a TranslationUnit is complete.
210*e5dd7070Spatrick ///
211*e5dd7070Spatrick /// check::EndOfTranslationUnit
checkEndOfTranslationUnit(const TranslationUnitDecl * TU,AnalysisManager & Mgr,BugReporter & BR) const212*e5dd7070Spatrick void checkEndOfTranslationUnit(const TranslationUnitDecl *TU,
213*e5dd7070Spatrick AnalysisManager &Mgr,
214*e5dd7070Spatrick BugReporter &BR) const {}
215*e5dd7070Spatrick
216*e5dd7070Spatrick /// Evaluates function call.
217*e5dd7070Spatrick ///
218*e5dd7070Spatrick /// The analysis core treats all function calls in the same way. However, some
219*e5dd7070Spatrick /// functions have special meaning, which should be reflected in the program
220*e5dd7070Spatrick /// state. This callback allows a checker to provide domain specific knowledge
221*e5dd7070Spatrick /// about the particular functions it knows about.
222*e5dd7070Spatrick ///
223*e5dd7070Spatrick /// \returns true if the call has been successfully evaluated
224*e5dd7070Spatrick /// and false otherwise. Note, that only one checker can evaluate a call. If
225*e5dd7070Spatrick /// more than one checker claims that they can evaluate the same call the
226*e5dd7070Spatrick /// first one wins.
227*e5dd7070Spatrick ///
228*e5dd7070Spatrick /// eval::Call
evalCall(const CallExpr * CE,CheckerContext & C) const229*e5dd7070Spatrick bool evalCall(const CallExpr *CE, CheckerContext &C) const { return true; }
230*e5dd7070Spatrick
231*e5dd7070Spatrick /// Handles assumptions on symbolic values.
232*e5dd7070Spatrick ///
233*e5dd7070Spatrick /// This method is called when a symbolic expression is assumed to be true or
234*e5dd7070Spatrick /// false. For example, the assumptions are performed when evaluating a
235*e5dd7070Spatrick /// condition at a branch. The callback allows checkers track the assumptions
236*e5dd7070Spatrick /// performed on the symbols of interest and change the state accordingly.
237*e5dd7070Spatrick ///
238*e5dd7070Spatrick /// eval::Assume
evalAssume(ProgramStateRef State,SVal Cond,bool Assumption) const239*e5dd7070Spatrick ProgramStateRef evalAssume(ProgramStateRef State,
240*e5dd7070Spatrick SVal Cond,
241*e5dd7070Spatrick bool Assumption) const { return State; }
242*e5dd7070Spatrick
243*e5dd7070Spatrick /// Allows modifying SymbolReaper object. For example, checkers can explicitly
244*e5dd7070Spatrick /// register symbols of interest as live. These symbols will not be marked
245*e5dd7070Spatrick /// dead and removed.
246*e5dd7070Spatrick ///
247*e5dd7070Spatrick /// check::LiveSymbols
checkLiveSymbols(ProgramStateRef State,SymbolReaper & SR) const248*e5dd7070Spatrick void checkLiveSymbols(ProgramStateRef State, SymbolReaper &SR) const {}
249*e5dd7070Spatrick
250*e5dd7070Spatrick /// Called when the contents of one or more regions change.
251*e5dd7070Spatrick ///
252*e5dd7070Spatrick /// This can occur in many different ways: an explicit bind, a blanket
253*e5dd7070Spatrick /// invalidation of the region contents, or by passing a region to a function
254*e5dd7070Spatrick /// call whose behavior the analyzer cannot model perfectly.
255*e5dd7070Spatrick ///
256*e5dd7070Spatrick /// \param State The current program state.
257*e5dd7070Spatrick /// \param Invalidated A set of all symbols potentially touched by the change.
258*e5dd7070Spatrick /// \param ExplicitRegions The regions explicitly requested for invalidation.
259*e5dd7070Spatrick /// For a function call, this would be the arguments. For a bind, this
260*e5dd7070Spatrick /// would be the region being bound to.
261*e5dd7070Spatrick /// \param Regions The transitive closure of regions accessible from,
262*e5dd7070Spatrick /// \p ExplicitRegions, i.e. all regions that may have been touched
263*e5dd7070Spatrick /// by this change. For a simple bind, this list will be the same as
264*e5dd7070Spatrick /// \p ExplicitRegions, since a bind does not affect the contents of
265*e5dd7070Spatrick /// anything accessible through the base region.
266*e5dd7070Spatrick /// \param LCtx LocationContext that is useful for getting various contextual
267*e5dd7070Spatrick /// info, like callstack, CFG etc.
268*e5dd7070Spatrick /// \param Call The opaque call triggering this invalidation. Will be 0 if the
269*e5dd7070Spatrick /// change was not triggered by a call.
270*e5dd7070Spatrick ///
271*e5dd7070Spatrick /// check::RegionChanges
272*e5dd7070Spatrick ProgramStateRef
checkRegionChanges(ProgramStateRef State,const InvalidatedSymbols * Invalidated,ArrayRef<const MemRegion * > ExplicitRegions,ArrayRef<const MemRegion * > Regions,const LocationContext * LCtx,const CallEvent * Call) const273*e5dd7070Spatrick checkRegionChanges(ProgramStateRef State,
274*e5dd7070Spatrick const InvalidatedSymbols *Invalidated,
275*e5dd7070Spatrick ArrayRef<const MemRegion *> ExplicitRegions,
276*e5dd7070Spatrick ArrayRef<const MemRegion *> Regions,
277*e5dd7070Spatrick const LocationContext *LCtx,
278*e5dd7070Spatrick const CallEvent *Call) const {
279*e5dd7070Spatrick return State;
280*e5dd7070Spatrick }
281*e5dd7070Spatrick
282*e5dd7070Spatrick /// Called when pointers escape.
283*e5dd7070Spatrick ///
284*e5dd7070Spatrick /// This notifies the checkers about pointer escape, which occurs whenever
285*e5dd7070Spatrick /// the analyzer cannot track the symbol any more. For example, as a
286*e5dd7070Spatrick /// result of assigning a pointer into a global or when it's passed to a
287*e5dd7070Spatrick /// function call the analyzer cannot model.
288*e5dd7070Spatrick ///
289*e5dd7070Spatrick /// \param State The state at the point of escape.
290*e5dd7070Spatrick /// \param Escaped The list of escaped symbols.
291*e5dd7070Spatrick /// \param Call The corresponding CallEvent, if the symbols escape as
292*e5dd7070Spatrick /// parameters to the given call.
293*e5dd7070Spatrick /// \param Kind How the symbols have escaped.
294*e5dd7070Spatrick /// \returns Checkers can modify the state by returning a new state.
checkPointerEscape(ProgramStateRef State,const InvalidatedSymbols & Escaped,const CallEvent * Call,PointerEscapeKind Kind) const295*e5dd7070Spatrick ProgramStateRef checkPointerEscape(ProgramStateRef State,
296*e5dd7070Spatrick const InvalidatedSymbols &Escaped,
297*e5dd7070Spatrick const CallEvent *Call,
298*e5dd7070Spatrick PointerEscapeKind Kind) const {
299*e5dd7070Spatrick return State;
300*e5dd7070Spatrick }
301*e5dd7070Spatrick
302*e5dd7070Spatrick /// Called when const pointers escape.
303*e5dd7070Spatrick ///
304*e5dd7070Spatrick /// Note: in most cases checkPointerEscape callback is sufficient.
305*e5dd7070Spatrick /// \sa checkPointerEscape
checkConstPointerEscape(ProgramStateRef State,const InvalidatedSymbols & Escaped,const CallEvent * Call,PointerEscapeKind Kind) const306*e5dd7070Spatrick ProgramStateRef checkConstPointerEscape(ProgramStateRef State,
307*e5dd7070Spatrick const InvalidatedSymbols &Escaped,
308*e5dd7070Spatrick const CallEvent *Call,
309*e5dd7070Spatrick PointerEscapeKind Kind) const {
310*e5dd7070Spatrick return State;
311*e5dd7070Spatrick }
312*e5dd7070Spatrick
313*e5dd7070Spatrick /// check::Event<ImplicitNullDerefEvent>
checkEvent(ImplicitNullDerefEvent Event) const314*e5dd7070Spatrick void checkEvent(ImplicitNullDerefEvent Event) const {}
315*e5dd7070Spatrick
316*e5dd7070Spatrick /// Check every declaration in the AST.
317*e5dd7070Spatrick ///
318*e5dd7070Spatrick /// An AST traversal callback, which should only be used when the checker is
319*e5dd7070Spatrick /// not path sensitive. It will be called for every Declaration in the AST and
320*e5dd7070Spatrick /// can be specialized to only be called on subclasses of Decl, for example,
321*e5dd7070Spatrick /// FunctionDecl.
322*e5dd7070Spatrick ///
323*e5dd7070Spatrick /// check::ASTDecl<FunctionDecl>
checkASTDecl(const FunctionDecl * D,AnalysisManager & Mgr,BugReporter & BR) const324*e5dd7070Spatrick void checkASTDecl(const FunctionDecl *D,
325*e5dd7070Spatrick AnalysisManager &Mgr,
326*e5dd7070Spatrick BugReporter &BR) const {}
327*e5dd7070Spatrick };
328*e5dd7070Spatrick
checkPostStmt(const DeclStmt * DS,CheckerContext & C) const329*e5dd7070Spatrick void CheckerDocumentation::checkPostStmt(const DeclStmt *DS,
330*e5dd7070Spatrick CheckerContext &C) const {
331*e5dd7070Spatrick }
332*e5dd7070Spatrick
333*e5dd7070Spatrick } // end namespace ento
334*e5dd7070Spatrick } // end namespace clang
335