diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-11-30 11:04:44 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-11-30 11:04:44 +0000 |
commit | 683b70c70dc47532af1215e4b1566de9d47a3be5 (patch) | |
tree | 586d5f657cce2fea3d029d128fb91cc713f5b310 | |
parent | ecdc8d3e0fc65610746a4e074491ca0807fca7b2 (diff) |
Update to reflect the change of macro name in r168993.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168994 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Analysis/CFG.h | 2 | ||||
-rw-r--r-- | include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Analysis/CFG.h b/include/clang/Analysis/CFG.h index 5fcd64c76c..c5d7c054bc 100644 --- a/include/clang/Analysis/CFG.h +++ b/include/clang/Analysis/CFG.h @@ -87,7 +87,7 @@ public: return dyn_cast<ElemTy>(this); } -#if LLVM_USE_RVALUE_REFERENCES +#if LLVM_HAS_RVALUE_REFERENCE_THIS template<class ElemTy> void getAs() && LLVM_DELETED_FUNCTION; #endif }; diff --git a/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h b/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h index ebdb02dd22..7b3eda981a 100644 --- a/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h +++ b/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h @@ -159,7 +159,7 @@ public: return dyn_cast<T>(&Location); } -#if LLVM_USE_RVALUE_REFERENCES +#if LLVM_HAS_RVALUE_REFERENCE_THIS template <typename T> void getLocationAs() && LLVM_DELETED_FUNCTION; #endif |