Fix for LLVM trunk

This commit is contained in:
Andrey Guskov
2015-04-15 16:31:23 +03:00
parent f73091f391
commit 824e47ece7
3 changed files with 36 additions and 32 deletions

4
ctx.h
View File

@@ -685,7 +685,11 @@ private:
/** These correspond to the current set of nested scopes in the
function. */
#if defined(LLVM_3_2) || defined(LLVM_3_3) || defined(LLVM_3_4) || defined(LLVM_3_5) || defined(LLVM_3_6)
std::vector<llvm::DILexicalBlock> debugScopes;
#else // LLVM 3.7++
std::vector<llvm::DIScope> debugScopes;
#endif
/** True if a 'launch' statement has been encountered in the function. */
bool launchedTasks;