This file is indexed.

/usr/include/clang/Lex/ModuleLoader.h is in libclang-dev 3.0-6ubuntu3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//===--- ModuleLoader.h - Module Loader Interface ---------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
//  This file defines the ModuleLoader interface, which is responsible for 
//  loading named modules.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_CLANG_LEX_MODULE_LOADER_H
#define LLVM_CLANG_LEX_MODULE_LOADER_H

#include "clang/Basic/SourceLocation.h"

namespace clang {

class IdentifierInfo;
  
/// \brief An opaque key that is used to describe the module and can be 
/// interpreted by the module loader itself.
typedef void *ModuleKey;
  
/// \brief Abstract interface for a module loader.
///
/// This abstract interface describes a module loader, which is responsible
/// for resolving a module name (e.g., "std") to an actual module file, and
/// then loading that module.
class ModuleLoader {
public:
  virtual ~ModuleLoader();
  
  /// \brief Attempt to load the given module.
  ///
  /// This routine attempts to load the module described by the given 
  /// parameters.
  ///
  /// \param ImportLoc The location of the 'import' keyword.
  /// \param ModuleName The name of the module to be loaded.
  /// \param ModuleNameLoc The location of the module name.
  ///
  /// \returns If successful, a non-NULL module key describing this module.
  /// Otherwise, returns NULL to indicate that the module could not be
  /// loaded.
  virtual ModuleKey loadModule(SourceLocation ImportLoc, 
                               IdentifierInfo &ModuleName,
                               SourceLocation ModuleNameLoc) = 0;
};
  
}

#endif