diff options
| author | Roman Divacky <rdivacky@FreeBSD.org> | 2010-07-15 17:07:12 +0000 |
|---|---|---|
| committer | Roman Divacky <rdivacky@FreeBSD.org> | 2010-07-15 17:07:12 +0000 |
| commit | 4e58654b47e89efbb1a8ca032c08fd354c3b0b61 (patch) | |
| tree | 5e946d69177464379cb1a38ac18206180d763639 /lib/Checker | |
| parent | 4ba675006b5a8edfc48b6a9bd3dcf54a70cc08f2 (diff) | |
Notes
Diffstat (limited to 'lib/Checker')
| -rw-r--r-- | lib/Checker/GRExprEngine.cpp | 1 | ||||
| -rw-r--r-- | lib/Checker/LLVMConventionsChecker.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/Checker/GRExprEngine.cpp b/lib/Checker/GRExprEngine.cpp index 4652a4c89ff3..07fee9d39e49 100644 --- a/lib/Checker/GRExprEngine.cpp +++ b/lib/Checker/GRExprEngine.cpp @@ -2438,6 +2438,7 @@ void GRExprEngine::VisitCast(CastExpr *CastE, Expr *Ex, ExplodedNode *Pred, case CastExpr::CK_Unknown: case CastExpr::CK_ArrayToPointerDecay: case CastExpr::CK_BitCast: + case CastExpr::CK_LValueBitCast: case CastExpr::CK_IntegralCast: case CastExpr::CK_IntegralToPointer: case CastExpr::CK_PointerToIntegral: diff --git a/lib/Checker/LLVMConventionsChecker.cpp b/lib/Checker/LLVMConventionsChecker.cpp index 0576f08e4e01..c1212572f8f4 100644 --- a/lib/Checker/LLVMConventionsChecker.cpp +++ b/lib/Checker/LLVMConventionsChecker.cpp @@ -36,7 +36,7 @@ static bool IsLLVMStringRef(QualType T) { /// Check whether the declaration is semantically inside the top-level /// namespace named by ns. -static bool InNamespace(const Decl *D, const llvm::StringRef &NS) { +static bool InNamespace(const Decl *D, llvm::StringRef NS) { const DeclContext *DC = D->getDeclContext(); const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(D->getDeclContext()); if (!ND) |
