diff options
Diffstat (limited to 'clang/tools')
| -rw-r--r-- | clang/tools/clang-shlib/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | clang/tools/libclang/CIndex.cpp | 2 | ||||
| -rw-r--r-- | clang/tools/scan-view/share/ScanView.py | 29 | 
3 files changed, 10 insertions, 25 deletions
| diff --git a/clang/tools/clang-shlib/CMakeLists.txt b/clang/tools/clang-shlib/CMakeLists.txt index 945076e..a4d0aa5 100644 --- a/clang/tools/clang-shlib/CMakeLists.txt +++ b/clang/tools/clang-shlib/CMakeLists.txt @@ -41,6 +41,10 @@ if (CLANG_LINK_CLANG_DYLIB)    set(INSTALL_WITH_TOOLCHAIN INSTALL_WITH_TOOLCHAIN)  endif() +if (HAIKU) +  list(APPEND _DEPS network) +endif() +  add_clang_library(clang-cpp                    SHARED                    ${INSTALL_WITH_TOOLCHAIN} diff --git a/clang/tools/libclang/CIndex.cpp b/clang/tools/libclang/CIndex.cpp index fc27fd2..08776d9 100644 --- a/clang/tools/libclang/CIndex.cpp +++ b/clang/tools/libclang/CIndex.cpp @@ -2406,6 +2406,8 @@ void OMPClauseEnqueue::VisitOMPCompareClause(const OMPCompareClause *) {}  void OMPClauseEnqueue::VisitOMPFailClause(const OMPFailClause *) {} +void OMPClauseEnqueue::VisitOMPThreadsetClause(const OMPThreadsetClause *) {} +  void OMPClauseEnqueue::VisitOMPAbsentClause(const OMPAbsentClause *) {}  void OMPClauseEnqueue::VisitOMPHoldsClause(const OMPHoldsClause *) {} diff --git a/clang/tools/scan-view/share/ScanView.py b/clang/tools/scan-view/share/ScanView.py index a89bf3f..9c11013 100644 --- a/clang/tools/scan-view/share/ScanView.py +++ b/clang/tools/scan-view/share/ScanView.py @@ -1,40 +1,19 @@ -from __future__ import print_function - -try: -    from http.server import HTTPServer, SimpleHTTPRequestHandler -except ImportError: -    from BaseHTTPServer import HTTPServer -    from SimpleHTTPServer import SimpleHTTPRequestHandler +from http.server import HTTPServer, SimpleHTTPRequestHandler  import os  import sys - -try: -    from urlparse import urlparse -    from urllib import unquote -except ImportError: -    from urllib.parse import urlparse, unquote - +from urllib.parse import urlparse, unquote  import posixpath - -if sys.version_info.major >= 3: -    from io import StringIO, BytesIO -else: -    from io import BytesIO, BytesIO as StringIO - +from io import StringIO, BytesIO  import re  import shutil  import threading  import time  import socket  import itertools +import configparser  import Reporter -try: -    import configparser -except ImportError: -    import ConfigParser as configparser -  ###  # Various patterns matched or replaced by server. | 
