1c8b2b6da1
This currently supports only building with Clang on Linux, as I'm lazy to handle the other cases (and Clang should be usually self-built anyway). The main compile time cost is in optimizing the code, but this still saves few seconds per source. Change-Id: Ib6c0fd874820af737ee1257cb5234fb78bc63ad8 Reviewed-on: https://gerrit.libreoffice.org/80810 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
54 lines
1.7 KiB
C++
54 lines
1.7 KiB
C++
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
/*
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* Based on LLVM/Clang.
|
|
*
|
|
* This file is distributed under the University of Illinois Open Source
|
|
* License. See LICENSE.TXT for details.
|
|
*
|
|
*/
|
|
|
|
// This file is generated manually. Is it based on the output of
|
|
// cat *.cxx *.hxx | grep '#include' | grep 'clang/' | sort -u
|
|
|
|
#if PCH_LEVEL >= 1
|
|
#include <clang/AST/ASTConsumer.h>
|
|
#include <clang/AST/ASTContext.h>
|
|
#include <clang/AST/Attr.h>
|
|
#include <clang/AST/Comment.h>
|
|
#include <clang/AST/CXXInheritance.h>
|
|
#include <clang/AST/DeclBase.h>
|
|
#include <clang/AST/DeclCXX.h>
|
|
#include <clang/AST/Decl.h>
|
|
#include <clang/AST/DeclTemplate.h>
|
|
#include <clang/AST/ExprCXX.h>
|
|
#include <clang/AST/Expr.h>
|
|
#include <clang/AST/RecursiveASTVisitor.h>
|
|
#include <clang/AST/StmtVisitor.h>
|
|
#include <clang/AST/Type.h>
|
|
#include <clang/Basic/FileManager.h>
|
|
#include <clang/Basic/OperatorKinds.h>
|
|
#include <clang/Basic/SourceManager.h>
|
|
#include <clang/Frontend/CompilerInstance.h>
|
|
#include <clang/Frontend/FrontendAction.h>
|
|
#include <clang/Frontend/FrontendActions.h>
|
|
#include <clang/Frontend/FrontendPluginRegistry.h>
|
|
#include <clang/Lex/Lexer.h>
|
|
#include <clang/Lex/PPCallbacks.h>
|
|
#include <clang/Lex/Preprocessor.h>
|
|
#include <clang/Rewrite/Core/Rewriter.h>
|
|
#include <clang/Sema/SemaDiagnostic.h>
|
|
#include <clang/Sema/Sema.h>
|
|
#include <clang/Sema/SemaInternal.h>
|
|
#include <clang/Tooling/CommonOptionsParser.h>
|
|
#include <clang/Tooling/Refactoring.h>
|
|
#endif
|
|
|
|
#if PCH_LEVEL >= 2
|
|
// These are included by everything anyway.
|
|
#include "plugin.hxx"
|
|
#include "check.hxx"
|
|
#endif
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|