X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=include%2Fllvm%2FSupport%2FSMLoc.h;fp=include%2Fllvm%2FSupport%2FSMLoc.h;h=c6e9a14e82ac69966534f9958ca3aa73e8f2727c;hb=d1769e33c40185f6df9109a7d59419868f00a5e6;hp=45ec92d2d0da87c9b59d22b1e5d7daeec629c58b;hpb=e4b461c8d72f7b71b94ba4061b1c5d24e5a85e59;p=oota-llvm.git diff --git a/include/llvm/Support/SMLoc.h b/include/llvm/Support/SMLoc.h index 45ec92d2d0d..c6e9a14e82a 100644 --- a/include/llvm/Support/SMLoc.h +++ b/include/llvm/Support/SMLoc.h @@ -54,10 +54,10 @@ public: assert(Start.isValid() == End.isValid() && "Start and end should either both be valid or both be invalid!"); } - + bool isValid() const { return Start.isValid(); } }; - + } // end namespace llvm #endif