summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2008-12-16 20:06:41 +0000
committerEli Friedman <eli.friedman@gmail.com>2008-12-16 20:06:41 +0000
commitc8a590dda351b515b184f18a66d75b9457dab9a6 (patch)
tree5d9d26d17fe767177b506357686a06e8e4426aaf /clang/lib/CodeGen
parentf2a6e5f0c08badc434440c9dad60c86700dc4961 (diff)
downloadbcm5719-llvm-c8a590dda351b515b184f18a66d75b9457dab9a6.tar.gz
bcm5719-llvm-c8a590dda351b515b184f18a66d75b9457dab9a6.zip
Warning fixes to operator precedence warnings.
Someone should double-check that I didn't somehow break ObjC serialization; I think the change there actually changes the semantics. llvm-svn: 61098
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGCXX.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGCXX.cpp b/clang/lib/CodeGen/CGCXX.cpp
index d55d0f81bc9..fe61001709e 100644
--- a/clang/lib/CodeGen/CGCXX.cpp
+++ b/clang/lib/CodeGen/CGCXX.cpp
@@ -28,7 +28,7 @@ using namespace CodeGen;
static void mangleDeclContextInternal(const DeclContext *D, std::string &S)
{
// FIXME: Should ObjcMethodDecl have the TranslationUnitDecl as its parent?
- assert(!D->getParent() || isa<TranslationUnitDecl>(D->getParent()) &&
+ assert((!D->getParent() || isa<TranslationUnitDecl>(D->getParent())) &&
"Only one level of decl context mangling is currently supported!");
if (const FunctionDecl* FD = dyn_cast<FunctionDecl>(D)) {
OpenPOWER on IntegriCloud