Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
e1b11cc4
Kaydet (Commit)
e1b11cc4
authored
Ara 23, 2012
tarafından
Lubos Lunak
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
config_clang.h
üst
8c0cb89a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
6 deletions
+19
-6
Makefile-clang.mk
compilerplugins/Makefile-clang.mk
+1
-1
sallogareas.cxx
compilerplugins/clang/sallogareas.cxx
+3
-5
config_clang.h.in
config/config_clang.h.in
+12
-0
configure.ac
configure.ac
+3
-0
No files found.
compilerplugins/Makefile-clang.mk
Dosyayı görüntüle @
e1b11cc4
...
@@ -52,7 +52,7 @@ CLANGOBJS=
...
@@ -52,7 +52,7 @@ CLANGOBJS=
define clangbuildsrc
define clangbuildsrc
$(3): $(2) $(SRCDIR)/compilerplugins/Makefile-clang.mk $(CLANGOUTDIR)/clang-timestamp
$(3): $(2) $(SRCDIR)/compilerplugins/Makefile-clang.mk $(CLANGOUTDIR)/clang-timestamp
@echo [build CXX] $(subst $(SRCDIR)/,,$(2))
@echo [build CXX] $(subst $(SRCDIR)/,,$(2))
$(CXX) $(CLANGCXXFLAGS) $(CLANGDEFS) $(CLANGINCLUDES) -
DSRCDIR=$(SRCDIR)
$(2) -fPIC -c -o $(3) -MMD -MT $(3) -MP -MF $(CLANGOUTDIR)/$(1).d
$(CXX) $(CLANGCXXFLAGS) $(CLANGDEFS) $(CLANGINCLUDES) -
I$(BUILDDIR)/config
$(2) -fPIC -c -o $(3) -MMD -MT $(3) -MP -MF $(CLANGOUTDIR)/$(1).d
-include $(CLANGOUTDIR)/$(1).d
-include $(CLANGOUTDIR)/$(1).d
...
...
compilerplugins/clang/sallogareas.cxx
Dosyayı görüntüle @
e1b11cc4
...
@@ -16,6 +16,8 @@
...
@@ -16,6 +16,8 @@
#include <fstream>
#include <fstream>
#include <config_clang.h>
namespace
loplugin
namespace
loplugin
{
{
...
@@ -110,11 +112,7 @@ void SalLogAreas::checkArea( StringRef area, SourceLocation location )
...
@@ -110,11 +112,7 @@ void SalLogAreas::checkArea( StringRef area, SourceLocation location )
void
SalLogAreas
::
readLogAreas
()
void
SalLogAreas
::
readLogAreas
()
{
{
#define STRINGIFY2( s ) #s
ifstream
is
(
SRCDIR
"/sal/inc/sal/log-areas.dox"
);
#define STRINGIFY( s ) STRINGIFY2( s )
ifstream
is
(
STRINGIFY
(
SRCDIR
)
"/sal/inc/sal/log-areas.dox"
);
#undef STRINGIFY
#undef STRINGIFY2
while
(
is
.
good
())
while
(
is
.
good
())
{
{
string
line
;
string
line
;
...
...
config/config_clang.h.in
0 → 100644
Dosyayı görüntüle @
e1b11cc4
/*
Settings related to Clang compiler plugins.
*/
#ifndef CONFIG_CLANG_H
#define CONFIG_CLANG_H
#undef SRCDIR
#endif
configure.ac
Dosyayı görüntüle @
e1b11cc4
...
@@ -106,6 +106,7 @@ AC_SUBST(SRC_ROOT)
...
@@ -106,6 +106,7 @@ AC_SUBST(SRC_ROOT)
AC_SUBST(BUILDDIR)
AC_SUBST(BUILDDIR)
AC_SUBST(EXEEXT_FOR_BUILD)
AC_SUBST(EXEEXT_FOR_BUILD)
AC_SUBST(x_Cygwin)
AC_SUBST(x_Cygwin)
AC_DEFINE_UNQUOTED(SRCDIR,"$SRC_ROOT")
if test "z$EUID" = "z0" -a "`uname -o 2>/dev/null`" = "Cygwin"; then
if test "z$EUID" = "z0" -a "`uname -o 2>/dev/null`" = "Cygwin"; then
AC_MSG_ERROR([You must build LibreOffice as a normal user - not using an administrative account])
AC_MSG_ERROR([You must build LibreOffice as a normal user - not using an administrative account])
...
@@ -4164,6 +4165,7 @@ if test "$cross_compiling" = "yes"; then
...
@@ -4164,6 +4165,7 @@ if test "$cross_compiling" = "yes"; then
config_host.mk.in \
config_host.mk.in \
configure \
configure \
Makefile.in \
Makefile.in \
config/config_clang.h.in \
config/config_global.h.in \
config/config_global.h.in \
config/config_graphite.h.in \
config/config_graphite.h.in \
config/config_telepathy.h.in \
config/config_telepathy.h.in \
...
@@ -12353,6 +12355,7 @@ else
...
@@ -12353,6 +12355,7 @@ else
fi
fi
AC_CONFIG_FILES([config_host.mk Makefile])
AC_CONFIG_FILES([config_host.mk Makefile])
AC_CONFIG_HEADERS([config/config_clang.h])
AC_CONFIG_HEADERS([config/config_global.h])
AC_CONFIG_HEADERS([config/config_global.h])
AC_CONFIG_HEADERS([config/config_graphite.h])
AC_CONFIG_HEADERS([config/config_graphite.h])
AC_CONFIG_HEADERS([config/config_telepathy.h])
AC_CONFIG_HEADERS([config/config_telepathy.h])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment