[llvm-commits] [polly] r161235 - /polly/trunk/include/polly/LinkAllPasses.h
Hongbin Zheng
etherzhhb at gmail.com
Fri Aug 3 01:36:15 PDT 2012
On Fri, Aug 3, 2012 at 4:11 PM, Tobias Grosser
<grosser at fim.uni-passau.de> wrote:
> Author: grosser
> Date: Fri Aug 3 03:11:24 2012
> New Revision: 161235
>
> URL: http://llvm.org/viewvc/llvm-project?rev=161235&view=rev
> Log:
> Remove 'using namespace llvm' from header file
>
> This fixes a conflict between polly::createIndVarSimplifyPass() and
> llvm::createIndVarSimplifyPass(), which causes problems on windows.
Surprising, looks like polly work on windows again :)
>
> Reported by: Michael Kruse <MichaelKruse at meinersbur.de
>
> Modified:
> polly/trunk/include/polly/LinkAllPasses.h
>
> Modified: polly/trunk/include/polly/LinkAllPasses.h
> URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/LinkAllPasses.h?rev=161235&r1=161234&r2=161235&view=diff
> ==============================================================================
> --- polly/trunk/include/polly/LinkAllPasses.h (original)
> +++ polly/trunk/include/polly/LinkAllPasses.h Fri Aug 3 03:11:24 2012
> @@ -25,43 +25,41 @@
> class RegionPass;
> }
>
> -using namespace llvm;
> -
> namespace polly {
> #ifdef CLOOG_FOUND
> - Pass *createCloogExporterPass();
> - Pass *createCloogInfoPass();
> - Pass *createCodeGenerationPass();
> -#endif
> - Pass *createCodePreparationPass();
> - Pass *createDeadCodeElimPass();
> - Pass *createDependencesPass();
> - Pass *createDOTOnlyPrinterPass();
> - Pass *createDOTOnlyViewerPass();
> - Pass *createDOTPrinterPass();
> - Pass *createDOTViewerPass();
> - Pass *createIndependentBlocksPass();
> - Pass *createIndVarSimplifyPass();
> - Pass *createJSONExporterPass();
> - Pass *createJSONImporterPass();
> + llvm::Pass *createCloogExporterPass();
> + llvm::Pass *createCloogInfoPass();
> + llvm::Pass *createCodeGenerationPass();
> +#endif
> + llvm::Pass *createCodePreparationPass();
> + llvm::Pass *createDeadCodeElimPass();
> + llvm::Pass *createDependencesPass();
> + llvm::Pass *createDOTOnlyPrinterPass();
> + llvm::Pass *createDOTOnlyViewerPass();
> + llvm::Pass *createDOTPrinterPass();
> + llvm::Pass *createDOTViewerPass();
> + llvm::Pass *createIndependentBlocksPass();
> + llvm::Pass *createIndVarSimplifyPass();
> + llvm::Pass *createJSONExporterPass();
> + llvm::Pass *createJSONImporterPass();
> #ifdef PLUTO_FOUND
> - Pass *createPlutoOptimizerPass();
> + llvm::Pass *createPlutoOptimizerPass();
> #endif
> - Pass *createRegionSimplifyPass();
> - Pass *createScopDetectionPass();
> - Pass *createScopInfoPass();
> - Pass *createIslScheduleOptimizerPass();
> - Pass *createTempScopInfoPass();
> + llvm::Pass *createRegionSimplifyPass();
> + llvm::Pass *createScopDetectionPass();
> + llvm::Pass *createScopInfoPass();
> + llvm::Pass *createIslScheduleOptimizerPass();
> + llvm::Pass *createTempScopInfoPass();
>
> #ifdef OPENSCOP_FOUND
> - Pass *createScopExporterPass();
> - Pass *createScopImporterPass();
> + llvm::Pass *createScopExporterPass();
> + llvm::Pass *createScopImporterPass();
> #endif
>
> #ifdef SCOPLIB_FOUND
> - Pass *createPoccPass();
> - Pass *createScopLibExporterPass();
> - Pass *createScopLibImporterPass();
> + llvm::Pass *createPoccPass();
> + llvm::Pass *createScopLibExporterPass();
> + llvm::Pass *createScopLibImporterPass();
> #endif
>
> extern char &IndependentBlocksID;
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list