summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.h
diff options
context:
space:
mode:
authorLeny Kholodov <lkholodov@accesssoftek.com>2016-09-06 10:48:04 +0000
committerLeny Kholodov <lkholodov@accesssoftek.com>2016-09-06 10:48:04 +0000
commit80c047d2c4dd0c1114624cec2a1a196427e463dd (patch)
tree19a0216d8a8d4d256ebbdfbfa12bcdbd84fbcb39 /clang/lib/CodeGen/CGDebugInfo.h
parent5fcc4185f5f1b489abd6c5ff62537cd5969c1250 (diff)
downloadbcm5719-llvm-80c047d2c4dd0c1114624cec2a1a196427e463dd.tar.gz
bcm5719-llvm-80c047d2c4dd0c1114624cec2a1a196427e463dd.zip
DebugInfo: use llvm::DINode::DIFlags type for debug info flags
Use llvm::DINode::DIFlags type (strongly typed enum) for debug flags instead of unsigned int to avoid problems on platforms with sizeof(int) < 4: we already have flags with values > (1 << 16). Patch by: Victor Leschuk <vleschuk@gmail.com> Differential Revision: https://reviews.llvm.org/D23767 llvm-svn: 280701
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h
index 501bbad5396..eba46bade14 100644
--- a/clang/lib/CodeGen/CGDebugInfo.h
+++ b/clang/lib/CodeGen/CGDebugInfo.h
@@ -518,7 +518,7 @@ private:
StringRef &Name, StringRef &LinkageName,
llvm::DIScope *&FDContext,
llvm::DINodeArray &TParamsArray,
- unsigned &Flags);
+ llvm::DINode::DIFlags &Flags);
/// Collect various properties of a VarDecl.
void collectVarDeclProps(const VarDecl *VD, llvm::DIFile *&Unit,
OpenPOWER on IntegriCloud