Skip to content

Commit 90248d6

Browse files
mcbartonvgvassilev
authored andcommitted
Fix typos in repo
1 parent 24746af commit 90248d6

File tree

15 files changed

+50
-45
lines changed

15 files changed

+50
-45
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,8 @@ endif()
440440

441441
# Generate docs for CppInterOp
442442
option(CPPINTEROP_INCLUDE_DOCS "Generate build targets for the CppInterOp docs.")
443-
option(CPPINTEROP_ENABLE_DOXYGEN "Use doxygen to generate CppInterOp interal API documentation.")
444-
option(CPPINTEROP_ENABLE_SPHINX "Use sphinx to generage CppInterOp user documentation")
443+
option(CPPINTEROP_ENABLE_DOXYGEN "Use doxygen to generate CppInterOp internal API documentation.")
444+
option(CPPINTEROP_ENABLE_SPHINX "Use sphinx to generate CppInterOp user documentation")
445445

446446

447447
if(MSVC)

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ projects such as CppInterOp. We have our documentation in the repository which i
4242
rendered in the [CppInterOp.readthedocs](https://cppinterop.readthedocs.io/en/latest/) website.
4343
Documentation modifications happen by proposing a pull request.
4444

45-
## Creating a successfull pull request
45+
## Creating a successful pull request
4646

4747
To propose a code modification we use the pull requests. Pull requests which
4848
review quickly and successfully share several common traits:
@@ -71,4 +71,4 @@ review quickly and successfully share several common traits:
7171
### Developer Documentation
7272

7373
We have documented several useful hints that usually help when addressing issues
74-
as they come during developement time in our [developer documentation](https://cppinterop.readthedocs.io/en/latest/InstallationAndUsage.html).
74+
as they come during development time in our [developer documentation](https://cppinterop.readthedocs.io/en/latest/InstallationAndUsage.html).

cmake/modules/GoogleTest.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ else()
8181
endif()
8282

8383
# Use gmock_main instead of gtest_main because it initializes gtest as well.
84-
# Note: The libraries are listed in reverse order of their dependancies.
84+
# Note: The libraries are listed in reverse order of their dependencies.
8585
foreach(lib gtest gtest_main gmock gmock_main)
8686
add_library(${lib} IMPORTED STATIC GLOBAL)
8787
set_target_properties(${lib} PROPERTIES

docs/doxygen.cfg.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ CREATE_SUBDIRS = NO
7070
# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German,
7171
# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English
7272
# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian,
73-
# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrilic, Slovak,
73+
# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, Slovak,
7474
# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese.
7575

7676
OUTPUT_LANGUAGE = English
@@ -1185,7 +1185,7 @@ EXT_LINKS_IN_WINDOW = NO
11851185

11861186
FORMULA_FONTSIZE = 10
11871187

1188-
# Use the FORMULA_TRANPARENT tag to determine whether or not the images
1188+
# Use the FORMULA_TRANSPARENT tag to determine whether or not the images
11891189
# generated for formulas are transparent PNGs. Transparent PNGs are not
11901190
# supported properly for IE 6.0, but are supported on all modern browsers.
11911191
#

docs/doxygen.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ HR { height: 1px;
313313

314314
/*
315315
* LLVM Modifications.
316-
* Note: Everything above here is generated with "doxygen -w htlm" command. See
316+
* Note: Everything above here is generated with "doxygen -w html" command. See
317317
* "doxygen --help" for details. What follows are CSS overrides for LLVM
318318
* specific formatting. We want to keep the above so it can be replaced with
319319
* subsequent doxygen upgrades.

include/clang/Interpreter/CppInterOp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ namespace Cpp {
730730
///
731731
///\param[in] candidates - vector of overloads that come under the
732732
/// parent scope and have the same name
733-
///\param[in] explicit_types - set of expicitly instantiated template types
733+
///\param[in] explicit_types - set of explicitly instantiated template types
734734
///\param[in] arg_types - set of argument types
735735
///\returns Instantiated function pointer
736736
CPPINTEROP_API TCppFunction_t
@@ -791,7 +791,7 @@ namespace Cpp {
791791
/// Append all Code completion suggestions to Results.
792792
///\param[out] Results - CC suggestions for code fragment. Suggestions are
793793
/// appended.
794-
///\param[in] code - code fragmet to complete
794+
///\param[in] code - code fragment to complete
795795
///\param[in] complete_line - position (line) in code for suggestion
796796
///\param[in] complete_column - position (column) in code for suggestion
797797
CPPINTEROP_API void CodeComplete(std::vector<std::string>& Results,

lib/Interpreter/Compatibility.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ inline std::string MakeResourceDir(llvm::StringRef Dir) {
483483
return std::string(P.str());
484484
}
485485

486-
// Clang >= 16 (=16 with Value patch) change castAs to converTo
486+
// Clang >= 16 (=16 with Value patch) change castAs to convertTo
487487
#ifdef CPPINTEROP_USE_CLING
488488
template <typename T> inline T convertTo(cling::Value V) {
489489
return V.castAs<T>();

lib/Interpreter/CppInterOp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,7 @@ namespace Cpp {
14211421
// not C. That means BaseCXXRD derives from C. Offset needs to be
14221422
// calculated for Derived class
14231423

1424-
// Depth first Search is performed to the class that declears FD from
1424+
// Depth first Search is performed to the class that declares FD from
14251425
// the base class
14261426
std::vector<CXXRecordDecl*> stack;
14271427
std::map<CXXRecordDecl*, CXXRecordDecl*> direction;
@@ -3647,7 +3647,7 @@ namespace Cpp {
36473647
m_DupFD = dup(FD);
36483648

36493649
// Flush now or can drop the buffer when dup2 is called with Fd later.
3650-
// This seems only neccessary when piping stdout or stderr, but do it
3650+
// This seems only necessary when piping stdout or stderr, but do it
36513651
// for ttys to avoid over complicated code for minimal benefit.
36523652
::fflush(FD == STDOUT_FILENO ? stdout : stderr);
36533653
if (dup2(fileno(m_TempFile.get()), FD) < 0)

lib/Interpreter/CppInterOpInterpreter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ class Interpreter {
357357
const_cast<const Interpreter*>(this)->getDynamicLibraryManager());
358358
}
359359

360-
///\brief Adds multiple include paths separated by a delimter.
360+
///\brief Adds multiple include paths separated by a delimiter.
361361
///
362362
///\param[in] PathsStr - Path(s)
363363
///\param[in] Delim - Delimiter to separate paths or NULL if a single path

lib/Interpreter/DynamicLibraryManager.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,12 @@ namespace Cpp {
5151
};
5252

5353
// Behaviour is to not add paths that don't exist...In an interpreted env
54-
// does this make sense? Path could pop into existance at any time.
54+
// does this make sense? Path could pop into existence at any time.
5555
for (const char* Var : kSysLibraryEnv) {
5656
if (const char* Env = GetEnv(Var)) {
5757
SmallVector<StringRef, 10> CurPaths;
58-
SplitPaths(Env, CurPaths, utils::kPruneNonExistant, Cpp::utils::platform::kEnvDelim);
58+
SplitPaths(Env, CurPaths, utils::kPruneNonExistent,
59+
Cpp::utils::platform::kEnvDelim);
5960
for (const auto& Path : CurPaths)
6061
addSearchPath(Path);
6162
}
@@ -86,7 +87,7 @@ namespace Cpp {
8687
StringRef libLoader) {
8788

8889
// Handle substitutions (MacOS):
89-
// @rpath - This function does not substitute @rpath, becouse
90+
// @rpath - This function does not substitute @rpath, because
9091
// this variable is already handled by lookupLibrary where
9192
// @rpath is replaced with all paths from RPATH one by one.
9293
// @executable_path - Main program path.

0 commit comments

Comments
 (0)