r358724 - Add header guard to Reusables.h [NFC]

Artem Dergachev via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 19 17:56:00 PDT 2019


Whoops, thanks!

On 4/18/19 5:42 PM, Ali Tamur via cfe-commits wrote:
> Author: tamur
> Date: Thu Apr 18 17:42:54 2019
> New Revision: 358724
>
> URL: http://llvm.org/viewvc/llvm-project?rev=358724&view=rev
> Log:
> Add header guard to Reusables.h [NFC]
>
> Modified:
>      cfe/trunk/unittests/StaticAnalyzer/Reusables.h
>
> Modified: cfe/trunk/unittests/StaticAnalyzer/Reusables.h
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/StaticAnalyzer/Reusables.h?rev=358724&r1=358723&r2=358724&view=diff
> ==============================================================================
> --- cfe/trunk/unittests/StaticAnalyzer/Reusables.h (original)
> +++ cfe/trunk/unittests/StaticAnalyzer/Reusables.h Thu Apr 18 17:42:54 2019
> @@ -6,6 +6,9 @@
>   //
>   //===----------------------------------------------------------------------===//
>   
> +#ifndef LLVM_CLANG_UNITTESTS_STATICANALYZER_REUSABLES_H
> +#define LLVM_CLANG_UNITTESTS_STATICANALYZER_REUSABLES_H
> +
>   #include "clang/ASTMatchers/ASTMatchFinder.h"
>   #include "clang/Frontend/CompilerInstance.h"
>   #include "clang/CrossTU/CrossTranslationUnit.h"
> @@ -56,3 +59,5 @@ public:
>   
>   } // namespace ento
>   } // namespace clang
> +
> +#endif
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list