[cfe-commits] r168994 - in /cfe/trunk/include/clang: Analysis/CFG.h StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h

Jordan Rose jordan_rose at apple.com
Fri Nov 30 09:24:35 PST 2012


:-( Sorry. I should have done my research better about who actually supports overloading on reference kind.


On Nov 30, 2012, at 3:04 , Chandler Carruth <chandlerc at gmail.com> wrote:

> Author: chandlerc
> Date: Fri Nov 30 05:04:44 2012
> New Revision: 168994
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=168994&view=rev
> Log:
> Update to reflect the change of macro name in r168993.
> 
> Modified:
>    cfe/trunk/include/clang/Analysis/CFG.h
>    cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h
> 
> Modified: cfe/trunk/include/clang/Analysis/CFG.h
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/CFG.h?rev=168994&r1=168993&r2=168994&view=diff
> ==============================================================================
> --- cfe/trunk/include/clang/Analysis/CFG.h (original)
> +++ cfe/trunk/include/clang/Analysis/CFG.h Fri Nov 30 05:04:44 2012
> @@ -87,7 +87,7 @@
>     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
> };
> 
> Modified: cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h?rev=168994&r1=168993&r2=168994&view=diff
> ==============================================================================
> --- cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h (original)
> +++ cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h Fri Nov 30 05:04:44 2012
> @@ -159,7 +159,7 @@
>     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
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list