diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-12-22 18:53:20 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-12-22 18:53:20 +0000 |
| commit | ca08fba4141f1d3ae6193b3c81fb6ba8fb10d7dc (patch) | |
| tree | f698b3925e75c9dd7191c220008b8e569fa6f083 /clang/lib/GR/Checkers/BasicObjCFoundationChecks.h | |
| parent | a700e976b658860418bc145ec0bdacd4f1db3264 (diff) | |
| download | bcm5719-llvm-ca08fba4141f1d3ae6193b3c81fb6ba8fb10d7dc.tar.gz bcm5719-llvm-ca08fba4141f1d3ae6193b3c81fb6ba8fb10d7dc.zip | |
[analyzer] Refactoring: Move stuff into namespace 'GR'.
llvm-svn: 122423
Diffstat (limited to 'clang/lib/GR/Checkers/BasicObjCFoundationChecks.h')
| -rw-r--r-- | clang/lib/GR/Checkers/BasicObjCFoundationChecks.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/clang/lib/GR/Checkers/BasicObjCFoundationChecks.h b/clang/lib/GR/Checkers/BasicObjCFoundationChecks.h index 6ad850b9735..7fdccdcacb8 100644 --- a/clang/lib/GR/Checkers/BasicObjCFoundationChecks.h +++ b/clang/lib/GR/Checkers/BasicObjCFoundationChecks.h @@ -13,19 +13,24 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_CLANG_ANALYSIS_BASICOBJCFOUNDATIONCHECKS -#define LLVM_CLANG_ANALYSIS_BASICOBJCFOUNDATIONCHECKS +#ifndef LLVM_CLANG_GR_BASICOBJCFOUNDATIONCHECKS +#define LLVM_CLANG_GR_BASICOBJCFOUNDATIONCHECKS namespace clang { class ASTContext; -class BugReporter; class Decl; + +namespace GR { + +class BugReporter; class GRExprEngine; void RegisterNSErrorChecks(BugReporter& BR, GRExprEngine &Eng, const Decl &D); void RegisterNSAutoreleasePoolChecks(GRExprEngine &Eng); +} // end GR namespace + } // end clang namespace #endif |

